# \[PATCH\] alpha: Restore symbol versions for symbols exported from assembly

- From: Ben Hutchings \<hidden\>
- Date: 2017-07-19 00:01:16 
- List: linux-alpha
- Page: https://ratatoskr.run/linux-alpha/2017/07/13326337
- Thread: https://ratatoskr.run/linux-alpha/2017/07/13326337/t.md

```text
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 <redacted>
---
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

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);
```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-alpha/2017/07/13326337/attachment/0) (application/pgp-signature, 811 bytes)
