diff options
Diffstat (limited to 'arch/blackfin/kernel')
-rw-r--r-- | arch/blackfin/kernel/module.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/arch/blackfin/kernel/module.c b/arch/blackfin/kernel/module.c index 35e350cad9d9..4489efc52883 100644 --- a/arch/blackfin/kernel/module.c +++ b/arch/blackfin/kernel/module.c | |||
@@ -16,19 +16,6 @@ | |||
16 | #include <asm/cacheflush.h> | 16 | #include <asm/cacheflush.h> |
17 | #include <asm/uaccess.h> | 17 | #include <asm/uaccess.h> |
18 | 18 | ||
19 | void *module_alloc(unsigned long size) | ||
20 | { | ||
21 | if (size == 0) | ||
22 | return NULL; | ||
23 | return vmalloc(size); | ||
24 | } | ||
25 | |||
26 | /* Free memory returned from module_alloc */ | ||
27 | void module_free(struct module *mod, void *module_region) | ||
28 | { | ||
29 | vfree(module_region); | ||
30 | } | ||
31 | |||
32 | /* Transfer the section to the L1 memory */ | 19 | /* Transfer the section to the L1 memory */ |
33 | int | 20 | int |
34 | module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, | 21 | module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, |
@@ -150,14 +137,6 @@ module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, | |||
150 | return 0; | 137 | return 0; |
151 | } | 138 | } |
152 | 139 | ||
153 | int | ||
154 | apply_relocate(Elf_Shdr * sechdrs, const char *strtab, | ||
155 | unsigned int symindex, unsigned int relsec, struct module *mod) | ||
156 | { | ||
157 | pr_err(".rel unsupported\n"); | ||
158 | return -ENOEXEC; | ||
159 | } | ||
160 | |||
161 | /*************************************************************************/ | 140 | /*************************************************************************/ |
162 | /* FUNCTION : apply_relocate_add */ | 141 | /* FUNCTION : apply_relocate_add */ |
163 | /* ABSTRACT : Blackfin specific relocation handling for the loadable */ | 142 | /* ABSTRACT : Blackfin specific relocation handling for the loadable */ |