diff options
Diffstat (limited to 'arch/h8300/kernel')
-rw-r--r-- | arch/h8300/kernel/module.c | 45 | ||||
-rw-r--r-- | arch/h8300/kernel/setup.c | 2 | ||||
-rw-r--r-- | arch/h8300/kernel/syscalls.S | 2 |
3 files changed, 2 insertions, 47 deletions
diff --git a/arch/h8300/kernel/module.c b/arch/h8300/kernel/module.c index db4953dc4e1..1d526e05db1 100644 --- a/arch/h8300/kernel/module.c +++ b/arch/h8300/kernel/module.c | |||
@@ -11,40 +11,6 @@ | |||
11 | #define DEBUGP(fmt...) | 11 | #define DEBUGP(fmt...) |
12 | #endif | 12 | #endif |
13 | 13 | ||
14 | void *module_alloc(unsigned long size) | ||
15 | { | ||
16 | if (size == 0) | ||
17 | return NULL; | ||
18 | return vmalloc(size); | ||
19 | } | ||
20 | |||
21 | |||
22 | /* Free memory returned from module_alloc */ | ||
23 | void module_free(struct module *mod, void *module_region) | ||
24 | { | ||
25 | vfree(module_region); | ||
26 | } | ||
27 | |||
28 | /* We don't need anything special. */ | ||
29 | int module_frob_arch_sections(Elf_Ehdr *hdr, | ||
30 | Elf_Shdr *sechdrs, | ||
31 | char *secstrings, | ||
32 | struct module *mod) | ||
33 | { | ||
34 | return 0; | ||
35 | } | ||
36 | |||
37 | int apply_relocate(Elf32_Shdr *sechdrs, | ||
38 | const char *strtab, | ||
39 | unsigned int symindex, | ||
40 | unsigned int relsec, | ||
41 | struct module *me) | ||
42 | { | ||
43 | printk(KERN_ERR "module %s: RELOCATION unsupported\n", | ||
44 | me->name); | ||
45 | return -ENOEXEC; | ||
46 | } | ||
47 | |||
48 | int apply_relocate_add(Elf32_Shdr *sechdrs, | 14 | int apply_relocate_add(Elf32_Shdr *sechdrs, |
49 | const char *strtab, | 15 | const char *strtab, |
50 | unsigned int symindex, | 16 | unsigned int symindex, |
@@ -107,14 +73,3 @@ int apply_relocate_add(Elf32_Shdr *sechdrs, | |||
107 | me->name, rela[i].r_offset); | 73 | me->name, rela[i].r_offset); |
108 | return -ENOEXEC; | 74 | return -ENOEXEC; |
109 | } | 75 | } |
110 | |||
111 | int module_finalize(const Elf_Ehdr *hdr, | ||
112 | const Elf_Shdr *sechdrs, | ||
113 | struct module *me) | ||
114 | { | ||
115 | return 0; | ||
116 | } | ||
117 | |||
118 | void module_arch_cleanup(struct module *mod) | ||
119 | { | ||
120 | } | ||
diff --git a/arch/h8300/kernel/setup.c b/arch/h8300/kernel/setup.c index 7fda657110e..68d651081bd 100644 --- a/arch/h8300/kernel/setup.c +++ b/arch/h8300/kernel/setup.c | |||
@@ -46,7 +46,7 @@ | |||
46 | #include <asm/regs267x.h> | 46 | #include <asm/regs267x.h> |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | #define STUBSIZE 0xc000; | 49 | #define STUBSIZE 0xc000 |
50 | 50 | ||
51 | unsigned long rom_length; | 51 | unsigned long rom_length; |
52 | unsigned long memory_start; | 52 | unsigned long memory_start; |
diff --git a/arch/h8300/kernel/syscalls.S b/arch/h8300/kernel/syscalls.S index f4b2e67bcc3..4be2ea2fbe2 100644 --- a/arch/h8300/kernel/syscalls.S +++ b/arch/h8300/kernel/syscalls.S | |||
@@ -183,7 +183,7 @@ SYMBOL_NAME_LABEL(sys_call_table) | |||
183 | .long SYMBOL_NAME(sys_ni_syscall) /* for vm86 */ | 183 | .long SYMBOL_NAME(sys_ni_syscall) /* for vm86 */ |
184 | .long SYMBOL_NAME(sys_ni_syscall) /* sys_query_module */ | 184 | .long SYMBOL_NAME(sys_ni_syscall) /* sys_query_module */ |
185 | .long SYMBOL_NAME(sys_poll) | 185 | .long SYMBOL_NAME(sys_poll) |
186 | .long SYMBOL_NAME(sys_nfsservctl) | 186 | .long SYMBOL_NAME(sys_ni_syscall) /* old nfsservctl */ |
187 | .long SYMBOL_NAME(sys_setresgid16) /* 170 */ | 187 | .long SYMBOL_NAME(sys_setresgid16) /* 170 */ |
188 | .long SYMBOL_NAME(sys_getresgid16) | 188 | .long SYMBOL_NAME(sys_getresgid16) |
189 | .long SYMBOL_NAME(sys_prctl) | 189 | .long SYMBOL_NAME(sys_prctl) |