summaryrefslogtreecommitdiffstats
path: root/arch/alpha
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2017-07-19 02:01:16 +0200
committerMatt Turner <mattst88@gmail.com>2017-09-04 21:04:34 +0200
commit873f9b5bcbf27f6e89e1879714abe4532cacf5d7 (patch)
tree58516af2d90b71bd02b6fed83fe1d9ed553f0353 /arch/alpha
parentalpha: defconfig: Cleanup from old Kconfig options (diff)
downloadlinux-873f9b5bcbf27f6e89e1879714abe4532cacf5d7.tar.xz
linux-873f9b5bcbf27f6e89e1879714abe4532cacf5d7.zip
alpha: Restore symbol versions for symbols exported from assembly
Add <asm/asm-prototypes.h> so that genksyms knows the types of these symbols and can generate CRCs for them. Fixes: 00fc0e0dda62 ("alpha: move exports to actual definitions") Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/alpha')
-rw-r--r--arch/alpha/include/asm/asm-prototypes.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/alpha/include/asm/asm-prototypes.h b/arch/alpha/include/asm/asm-prototypes.h
new file mode 100644
index 000000000000..d12c68ea340b
--- /dev/null
+++ b/arch/alpha/include/asm/asm-prototypes.h
@@ -0,0 +1,18 @@
+#include <linux/spinlock.h>
+
+#include <asm/checksum.h>
+#include <asm/console.h>
+#include <asm/page.h>
+#include <asm/string.h>
+#include <asm/uaccess.h>
+
+#include <asm-generic/asm-prototypes.h>
+
+extern void __divl(void);
+extern void __reml(void);
+extern void __divq(void);
+extern void __remq(void);
+extern void __divlu(void);
+extern void __remlu(void);
+extern void __divqu(void);
+extern void __remqu(void);