summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2007-10-23 06:37:54 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-23 17:32:07 +0200
commitf186c9ad181ab9ba35e28cc9bbaafe226dbaec8c (patch)
tree2c30213ae91d81c402d8eb83b06901d2d7a05599
parentm68knommu: define __clear_user macro (diff)
downloadlinux-f186c9ad181ab9ba35e28cc9bbaafe226dbaec8c.tar.xz
linux-f186c9ad181ab9ba35e28cc9bbaafe226dbaec8c.zip
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 57e95cc01ad5..2e45ab50b232 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 */