Skip to contentSkip to conversation

alpha: Restore symbol versions for symbols exported from assembly

PATCH New Ben Hutchings 1 participant 1 message Jul 19, 2017 Alpha port

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")

---
This is build-tested only (defconfig + MODVERSIONS=y).

Ben.

 arch/alpha/include/asm/asm-prototypes.h | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 arch/alpha/include/asm/asm-prototypes.h
arch/alpha/include/asm/asm-prototypes.h new file +18 -0
new file mode 100644
index 000000000000..d12c68ea340b
@@ -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);