diff options
author | blaisorblade@yahoo.it <blaisorblade@yahoo.it> | 2005-05-01 11:58:53 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 11:58:53 -0400 |
commit | 8e7a4f69e4ed328aa09ce48601073052557fa85d (patch) | |
tree | 6dd68f348f5866f9f2fc5692e9a980069168a88e /arch | |
parent | 92eac95287d75f220a8bbef6646f51a6497c4b4c (diff) |
[PATCH] uml: add nfsd syscall when nfsd is modular
This trick is useless, because sys_ni.c will handle this problem by itself,
like it does even on UML for other syscalls.
Also, it does not provide the NFSD syscall when NFSD is compiled as a
module, which is a big problem.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/um/kernel/sys_call_table.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/um/kernel/sys_call_table.c b/arch/um/kernel/sys_call_table.c index 7fc06c85b29d..b671a31a0069 100644 --- a/arch/um/kernel/sys_call_table.c +++ b/arch/um/kernel/sys_call_table.c | |||
@@ -14,12 +14,6 @@ | |||
14 | #include "sysdep/syscalls.h" | 14 | #include "sysdep/syscalls.h" |
15 | #include "kern_util.h" | 15 | #include "kern_util.h" |
16 | 16 | ||
17 | #ifdef CONFIG_NFSD | ||
18 | #define NFSSERVCTL sys_nfsservctl | ||
19 | #else | ||
20 | #define NFSSERVCTL sys_ni_syscall | ||
21 | #endif | ||
22 | |||
23 | #define LAST_GENERIC_SYSCALL __NR_keyctl | 17 | #define LAST_GENERIC_SYSCALL __NR_keyctl |
24 | 18 | ||
25 | #if LAST_GENERIC_SYSCALL > LAST_ARCH_SYSCALL | 19 | #if LAST_GENERIC_SYSCALL > LAST_ARCH_SYSCALL |
@@ -189,7 +183,7 @@ syscall_handler_t *sys_call_table[] = { | |||
189 | [ __NR_getresuid ] = (syscall_handler_t *) sys_getresuid16, | 183 | [ __NR_getresuid ] = (syscall_handler_t *) sys_getresuid16, |
190 | [ __NR_query_module ] = (syscall_handler_t *) sys_ni_syscall, | 184 | [ __NR_query_module ] = (syscall_handler_t *) sys_ni_syscall, |
191 | [ __NR_poll ] = (syscall_handler_t *) sys_poll, | 185 | [ __NR_poll ] = (syscall_handler_t *) sys_poll, |
192 | [ __NR_nfsservctl ] = (syscall_handler_t *) NFSSERVCTL, | 186 | [ __NR_nfsservctl ] = (syscall_handler_t *) sys_nfsservctl, |
193 | [ __NR_setresgid ] = (syscall_handler_t *) sys_setresgid16, | 187 | [ __NR_setresgid ] = (syscall_handler_t *) sys_setresgid16, |
194 | [ __NR_getresgid ] = (syscall_handler_t *) sys_getresgid16, | 188 | [ __NR_getresgid ] = (syscall_handler_t *) sys_getresgid16, |
195 | [ __NR_prctl ] = (syscall_handler_t *) sys_prctl, | 189 | [ __NR_prctl ] = (syscall_handler_t *) sys_prctl, |