summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2007-10-23 14:37:54 +1000
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-23 08:32:07 -0700
commitf186c9ad181ab9ba35e28cc9bbaafe226dbaec8c (patch)
tree2c30213ae91d81c402d8eb83b06901d2d7a05599
parentfa2eae93a591b392d1056f95024516cede916ad4 (diff)
downloadop-kernel-dev-f186c9ad181ab9ba35e28cc9bbaafe226dbaec8c.zip
op-kernel-dev-f186c9ad181ab9ba35e28cc9bbaafe226dbaec8c.tar.gz
m68knommu: local module/elf definitions
Up to now m68knommu has been using the asm-m68k/module.h instead of defining its own. There are recent changes there that we don't need (fixups specifically). We don't need much support here so it makes sense to have an m68knommu specific one now. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--include/asm-m68knommu/module.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/asm-m68knommu/module.h b/include/asm-m68knommu/module.h
index 57e95cc..2e45ab5 100644
--- a/include/asm-m68knommu/module.h
+++ b/include/asm-m68knommu/module.h
@@ -1 +1,11 @@
-#include <asm-m68k/module.h>
+#ifndef ASM_M68KNOMMU_MODULE_H
+#define ASM_M68KNOMMU_MODULE_H
+
+struct mod_arch_specific {
+};
+
+#define Elf_Shdr Elf32_Shdr
+#define Elf_Sym Elf32_Sym
+#define Elf_Ehdr Elf32_Ehdr
+
+#endif /* ASM_M68KNOMMU_MODULE_H */
OpenPOWER on IntegriCloud