Skip to content

Commit c6b90d5

Browse files
Tian Taowilldeacon
authored andcommitted
arm64/fpsimd: Fix missing-prototypes in fpsimd.c
Fix the following warnings. arch/arm64/kernel/fpsimd.c:935:6: warning: no previous prototype for ‘do_sve_acc’ [-Wmissing-prototypes] arch/arm64/kernel/fpsimd.c:962:6: warning: no previous prototype for ‘do_fpsimd_acc’ [-Wmissing-prototypes] arch/arm64/kernel/fpsimd.c:971:6: warning: no previous prototype for ‘do_fpsimd_exc’ [-Wmissing-prototypes] arch/arm64/kernel/fpsimd.c:1266:6: warning: no previous prototype for ‘kernel_neon_begin’ [-Wmissing-prototypes] arch/arm64/kernel/fpsimd.c:1292:6: warning: no previous prototype for ‘kernel_neon_end’ [-Wmissing-prototypes] Signed-off-by: Tian Tao <[email protected]> Reviewed-by: Dave Martin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 118bb62 commit c6b90d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm64/kernel/fpsimd.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,11 @@
3232
#include <linux/swab.h>
3333

3434
#include <asm/esr.h>
35+
#include <asm/exception.h>
3536
#include <asm/fpsimd.h>
3637
#include <asm/cpufeature.h>
3738
#include <asm/cputype.h>
39+
#include <asm/neon.h>
3840
#include <asm/processor.h>
3941
#include <asm/simd.h>
4042
#include <asm/sigcontext.h>

0 commit comments

Comments
 (0)