diff options
author | Arnd Bergmann <arnd@arndb.de> | 2006-10-02 05:18:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-02 10:57:23 -0400 |
commit | 135ab6ec8fdad6f61aabe53f456821baf4a4aa0e (patch) | |
tree | 22a46321949e6621e95f6c21a3d34e3516d07cc8 /include/asm-frv/unistd.h | |
parent | 821278a75d270048e291fcbec9304439a176ba88 (diff) |
[PATCH] remove remaining errno and __KERNEL_SYSCALLS__ references
The last in-kernel user of errno is gone, so we should remove the definition
and everything referring to it. This also removes the now-unused lib/execve.c
file that was introduced earlier.
Also remove every trace of __KERNEL_SYSCALLS__ that still remained in the
kernel.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Andi Kleen <ak@muc.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Ian Molton <spyro@f2s.com>
Cc: Mikael Starvik <starvik@axis.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Hirokazu Takata <takata.hirokazu@renesas.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
Cc: Richard Curnow <rc@rc0.org.uk>
Cc: William Lee Irwin III <wli@holomorphy.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Miles Bader <uclinux-v850@lsi.nec.co.jp>
Cc: Chris Zankel <chris@zankel.net>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-frv/unistd.h')
-rw-r--r-- | include/asm-frv/unistd.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/include/asm-frv/unistd.h b/include/asm-frv/unistd.h index d104d1b91d39..725e854928cf 100644 --- a/include/asm-frv/unistd.h +++ b/include/asm-frv/unistd.h | |||
@@ -440,31 +440,6 @@ type name (type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5, type6 arg | |||
440 | __syscall_return(type, __sc0); \ | 440 | __syscall_return(type, __sc0); \ |
441 | } | 441 | } |
442 | 442 | ||
443 | |||
444 | #ifdef __KERNEL_SYSCALLS__ | ||
445 | |||
446 | #include <linux/compiler.h> | ||
447 | #include <linux/types.h> | ||
448 | #include <linux/linkage.h> | ||
449 | #include <asm/ptrace.h> | ||
450 | |||
451 | /* | ||
452 | * we need this inline - forking from kernel space will result | ||
453 | * in NO COPY ON WRITE (!!!), until an execve is executed. This | ||
454 | * is no problem, but for the stack. This is handled by not letting | ||
455 | * main() use the stack at all after fork(). Thus, no function | ||
456 | * calls - which means inline code for fork too, as otherwise we | ||
457 | * would use the stack upon exit from 'fork()'. | ||
458 | * | ||
459 | * Actually only pause and fork are needed inline, so that there | ||
460 | * won't be any messing with the stack from main(), but we define | ||
461 | * some others too. | ||
462 | */ | ||
463 | #define __NR__exit __NR_exit | ||
464 | static inline _syscall3(int,execve,const char *,file,char **,argv,char **,envp) | ||
465 | |||
466 | #endif /* __KERNEL_SYSCALLS__ */ | ||
467 | |||
468 | #define __ARCH_WANT_IPC_PARSE_VERSION | 443 | #define __ARCH_WANT_IPC_PARSE_VERSION |
469 | /* #define __ARCH_WANT_OLD_READDIR */ | 444 | /* #define __ARCH_WANT_OLD_READDIR */ |
470 | #define __ARCH_WANT_OLD_STAT | 445 | #define __ARCH_WANT_OLD_STAT |