]> git.baikalelectronics.ru Git - kernel.git/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)
commit07e3d8bd61931c8c1e0edd529b3a26eb598079e7
tree2fe3b65e20ea176f23cdb6954d8c958d10e43c1d
parent172c102fcfdf22c6a0b47334d4ba28961dc0e940
[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