Commit f4ba3122 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] M68k module updates

M68k module updates
  - Update module definitions
  - Remove references to obsolete module syscalls
parent dc75aa33
...@@ -552,10 +552,10 @@ sys_call_table: ...@@ -552,10 +552,10 @@ sys_call_table:
.long sys_adjtimex .long sys_adjtimex
.long sys_mprotect /* 125 */ .long sys_mprotect /* 125 */
.long sys_sigprocmask .long sys_sigprocmask
.long sys_create_module .long sys_ni_syscall /* old "create_module" */
.long sys_init_module .long sys_init_module
.long sys_delete_module .long sys_delete_module
.long sys_get_kernel_syms /* 130 */ .long sys_ni_syscall /* 130 - old "get_kernel_syms" */
.long sys_quotactl .long sys_quotactl
.long sys_getpgid .long sys_getpgid
.long sys_fchdir .long sys_fchdir
...@@ -592,7 +592,7 @@ sys_call_table: ...@@ -592,7 +592,7 @@ sys_call_table:
.long sys_setresuid16 .long sys_setresuid16
.long sys_getresuid16 /* 165 */ .long sys_getresuid16 /* 165 */
.long sys_getpagesize .long sys_getpagesize
.long sys_query_module .long sys_ni_syscall /* old sys_query_module */
.long sys_poll .long sys_poll
.long sys_nfsservctl .long sys_nfsservctl
.long sys_setresgid16 /* 170 */ .long sys_setresgid16 /* 170 */
......
#ifndef _ASM_M68K_MODULE_H #ifndef _ASM_M68K_MODULE_H
#define _ASM_M68K_MODULE_H #define _ASM_M68K_MODULE_H
/* struct mod_arch_specific { };
* This file contains the m68k architecture specific module code. #define Elf_Shdr Elf32_Shdr
*/ #define Elf_Sym Elf32_Sym
#define Elf_Ehdr Elf32_Ehdr
#define module_map(x) vmalloc(x)
#define module_unmap(x) vfree(x)
#define module_arch_init(x) (0)
#define arch_init_modules(x) do { } while (0)
#endif /* _ASM_M68K_MODULE_H */ #endif /* _ASM_M68K_MODULE_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment