]> err.no Git - linux-2.6/commit
[PATCH] AVR32: Implement kernel_execve
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Mon, 2 Oct 2006 09:18:46 +0000 (02:18 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 2 Oct 2006 14:57:24 +0000 (07:57 -0700)
commitc5f2420a063fcc5a4cd6610c3ef6934827853001
tree2fe3b65e20ea176f23cdb6954d8c958d10e43c1d
parent135ab6ec8fdad6f61aabe53f456821baf4a4aa0e
[PATCH] AVR32: Implement kernel_execve

Move execve() into arch/avr32/kernel/sys_avr32.c, rename it to
kernel_execve() and return the syscall return value directly without
setting errno.

This also gets rid of the __KERNEL_SYSCALLS__ stuff from unistd.h and
expands #ifdef __KERNEL__ to cover everything in unistd.h except the
__NR_foo definitions.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/avr32/kernel/sys_avr32.c
include/asm-avr32/unistd.h