summaryrefslogtreecommitdiffstats
path: root/arch/arm/vfp/vfpmodule.c
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2016-11-16 22:20:14 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2016-11-22 11:45:09 +0000
commita85b2257a57d5b3328fdecec9255c6d30c67c8bb (patch)
treeb98459121d83a8eefa17f5ed1a1622349c5eae68 /arch/arm/vfp/vfpmodule.c
parent7e5930aaef5d4c8664ce4a36b05c63e8b25c1f3f (diff)
downloadlinux-a85b2257a57d5b3328fdecec9255c6d30c67c8bb.tar.gz
linux-a85b2257a57d5b3328fdecec9255c6d30c67c8bb.tar.bz2
linux-a85b2257a57d5b3328fdecec9255c6d30c67c8bb.zip
ARM: 8629/1: vfp: properly tag assembly function declarations in C code
This is good for consistency even if there is no difference in compiled code. LTO might rely on this eventually. No need to preserve the extern attribute as it is the default with function prototypes. Signed-off-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/vfp/vfpmodule.c')
-rw-r--r--arch/arm/vfp/vfpmodule.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/vfp/vfpmodule.c b/arch/arm/vfp/vfpmodule.c
index da0b33deba6d..0351f5645fb1 100644
--- a/arch/arm/vfp/vfpmodule.c
+++ b/arch/arm/vfp/vfpmodule.c
@@ -34,11 +34,11 @@
/*
* Our undef handlers (in entry.S)
*/
-void vfp_testing_entry(void);
-void vfp_support_entry(void);
-void vfp_null_entry(void);
+asmlinkage void vfp_testing_entry(void);
+asmlinkage void vfp_support_entry(void);
+asmlinkage void vfp_null_entry(void);
-void (*vfp_vector)(void) = vfp_null_entry;
+asmlinkage void (*vfp_vector)(void) = vfp_null_entry;
/*
* Dual-use variable.