diff options
Diffstat (limited to 'arch/alpha')
-rw-r--r-- | arch/alpha/kernel/module.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/arch/alpha/kernel/module.c b/arch/alpha/kernel/module.c index ebc3c894b5a2..2fd00b7077e4 100644 --- a/arch/alpha/kernel/module.c +++ b/arch/alpha/kernel/module.c | |||
@@ -29,20 +29,6 @@ | |||
29 | #define DEBUGP(fmt...) | 29 | #define DEBUGP(fmt...) |
30 | #endif | 30 | #endif |
31 | 31 | ||
32 | void * | ||
33 | module_alloc(unsigned long size) | ||
34 | { | ||
35 | if (size == 0) | ||
36 | return NULL; | ||
37 | return vmalloc(size); | ||
38 | } | ||
39 | |||
40 | void | ||
41 | module_free(struct module *mod, void *module_region) | ||
42 | { | ||
43 | vfree(module_region); | ||
44 | } | ||
45 | |||
46 | /* Allocate the GOT at the end of the core sections. */ | 32 | /* Allocate the GOT at the end of the core sections. */ |
47 | 33 | ||
48 | struct got_entry { | 34 | struct got_entry { |
@@ -156,14 +142,6 @@ module_frob_arch_sections(Elf64_Ehdr *hdr, Elf64_Shdr *sechdrs, | |||
156 | } | 142 | } |
157 | 143 | ||
158 | int | 144 | int |
159 | apply_relocate(Elf64_Shdr *sechdrs, const char *strtab, unsigned int symindex, | ||
160 | unsigned int relsec, struct module *me) | ||
161 | { | ||
162 | printk(KERN_ERR "module %s: REL relocation unsupported\n", me->name); | ||
163 | return -ENOEXEC; | ||
164 | } | ||
165 | |||
166 | int | ||
167 | apply_relocate_add(Elf64_Shdr *sechdrs, const char *strtab, | 145 | apply_relocate_add(Elf64_Shdr *sechdrs, const char *strtab, |
168 | unsigned int symindex, unsigned int relsec, | 146 | unsigned int symindex, unsigned int relsec, |
169 | struct module *me) | 147 | struct module *me) |
@@ -302,15 +280,3 @@ apply_relocate_add(Elf64_Shdr *sechdrs, const char *strtab, | |||
302 | 280 | ||
303 | return 0; | 281 | return 0; |
304 | } | 282 | } |
305 | |||
306 | int | ||
307 | module_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, | ||
308 | struct module *me) | ||
309 | { | ||
310 | return 0; | ||
311 | } | ||
312 | |||
313 | void | ||
314 | module_arch_cleanup(struct module *mod) | ||
315 | { | ||
316 | } | ||