diff options
Diffstat (limited to 'arch/powerpc/kernel/module.c')
-rw-r--r-- | arch/powerpc/kernel/module.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/powerpc/kernel/module.c b/arch/powerpc/kernel/module.c index 49cee9df225..a1cd701b575 100644 --- a/arch/powerpc/kernel/module.c +++ b/arch/powerpc/kernel/module.c | |||
@@ -31,20 +31,6 @@ | |||
31 | 31 | ||
32 | LIST_HEAD(module_bug_list); | 32 | LIST_HEAD(module_bug_list); |
33 | 33 | ||
34 | void *module_alloc(unsigned long size) | ||
35 | { | ||
36 | if (size == 0) | ||
37 | return NULL; | ||
38 | |||
39 | return vmalloc_exec(size); | ||
40 | } | ||
41 | |||
42 | /* Free memory returned from module_alloc */ | ||
43 | void module_free(struct module *mod, void *module_region) | ||
44 | { | ||
45 | vfree(module_region); | ||
46 | } | ||
47 | |||
48 | static const Elf_Shdr *find_section(const Elf_Ehdr *hdr, | 34 | static const Elf_Shdr *find_section(const Elf_Ehdr *hdr, |
49 | const Elf_Shdr *sechdrs, | 35 | const Elf_Shdr *sechdrs, |
50 | const char *name) | 36 | const char *name) |
@@ -93,7 +79,3 @@ int module_finalize(const Elf_Ehdr *hdr, | |||
93 | 79 | ||
94 | return 0; | 80 | return 0; |
95 | } | 81 | } |
96 | |||
97 | void module_arch_cleanup(struct module *mod) | ||
98 | { | ||
99 | } | ||