aboutsummaryrefslogtreecommitdiff
path: root/include/asm-sh64/module.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh64/module.h')
-rw-r--r--include/asm-sh64/module.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/asm-sh64/module.h b/include/asm-sh64/module.h
new file mode 100644
index 00000000000..c313650d3d9
--- /dev/null
+++ b/include/asm-sh64/module.h
@@ -0,0 +1,20 @@
+#ifndef __ASM_SH64_MODULE_H
+#define __ASM_SH64_MODULE_H
+/*
+ * This file contains the SH architecture specific module code.
+ */
+
+struct mod_arch_specific {
+ /* empty */
+};
+
+#define Elf_Shdr Elf32_Shdr
+#define Elf_Sym Elf32_Sym
+#define Elf_Ehdr Elf32_Ehdr
+
+#define module_map(x) vmalloc(x)
+#define module_unmap(x) vfree(x)
+#define module_arch_init(x) (0)
+#define arch_init_modules(x) do { } while (0)
+
+#endif /* __ASM_SH64_MODULE_H */