diff options
Diffstat (limited to 'arch/tile')
-rw-r--r-- | arch/tile/kernel/module.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/arch/tile/kernel/module.c b/arch/tile/kernel/module.c index f68df69f1f67..28fa6ece9d3a 100644 --- a/arch/tile/kernel/module.c +++ b/arch/tile/kernel/module.c | |||
@@ -98,25 +98,6 @@ void module_free(struct module *mod, void *module_region) | |||
98 | */ | 98 | */ |
99 | } | 99 | } |
100 | 100 | ||
101 | /* We don't need anything special. */ | ||
102 | int module_frob_arch_sections(Elf_Ehdr *hdr, | ||
103 | Elf_Shdr *sechdrs, | ||
104 | char *secstrings, | ||
105 | struct module *mod) | ||
106 | { | ||
107 | return 0; | ||
108 | } | ||
109 | |||
110 | int apply_relocate(Elf_Shdr *sechdrs, | ||
111 | const char *strtab, | ||
112 | unsigned int symindex, | ||
113 | unsigned int relsec, | ||
114 | struct module *me) | ||
115 | { | ||
116 | pr_err("module %s: .rel relocation unsupported\n", me->name); | ||
117 | return -ENOEXEC; | ||
118 | } | ||
119 | |||
120 | #ifdef __tilegx__ | 101 | #ifdef __tilegx__ |
121 | /* | 102 | /* |
122 | * Validate that the high 16 bits of "value" is just the sign-extension of | 103 | * Validate that the high 16 bits of "value" is just the sign-extension of |
@@ -249,15 +230,3 @@ int apply_relocate_add(Elf_Shdr *sechdrs, | |||
249 | } | 230 | } |
250 | return 0; | 231 | return 0; |
251 | } | 232 | } |
252 | |||
253 | int module_finalize(const Elf_Ehdr *hdr, | ||
254 | const Elf_Shdr *sechdrs, | ||
255 | struct module *me) | ||
256 | { | ||
257 | /* FIXME: perhaps remove the "writable" bit from the TLB? */ | ||
258 | return 0; | ||
259 | } | ||
260 | |||
261 | void module_arch_cleanup(struct module *mod) | ||
262 | { | ||
263 | } | ||