aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-xtensa/module.h
diff options
context:
space:
mode:
authorChris Zankel <chris@zankel.net>2008-01-07 19:42:21 -0500
committerChris Zankel <chris@zankel.net>2008-02-13 20:23:26 -0500
commit3b4a49e21b0d8a69629623815a8caff3eb4cf9f7 (patch)
tree28caaf5e577264a6edcbcd04141180fabaabe19c /include/asm-xtensa/module.h
parent3e92501a4e10e640786de10786c434834a0c1651 (diff)
[XTENSA] Fix modules for non-exec processor configurations
We need to use vmalloc_exec for module loading. Also remove the definitions MODULE_START and MODULE_END, which wasn't used, and increase the VMALLOC memory range accordingly. Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'include/asm-xtensa/module.h')
-rw-r--r--include/asm-xtensa/module.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-xtensa/module.h b/include/asm-xtensa/module.h
index ffb25bfdf6a..d9b34bee4d4 100644
--- a/include/asm-xtensa/module.h
+++ b/include/asm-xtensa/module.h
@@ -15,9 +15,11 @@
15 15
16struct mod_arch_specific 16struct mod_arch_specific
17{ 17{
18 /* Module support is not completely implemented. */ 18 /* No special elements, yet. */
19}; 19};
20 20
21#define MODULE_ARCH_VERMAGIC "xtensa-" __stringify(XCHAL_CORE_ID) " "
22
21#define Elf_Shdr Elf32_Shdr 23#define Elf_Shdr Elf32_Shdr
22#define Elf_Sym Elf32_Sym 24#define Elf_Sym Elf32_Sym
23#define Elf_Ehdr Elf32_Ehdr 25#define Elf_Ehdr Elf32_Ehdr