[PATCH] powerpc: declare arch syscalls in <asm/syscalls.h>
authorArnd Bergmann <abergman@de.ibm.com>
Wed, 22 Mar 2006 23:00:08 +0000 (00:00 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 27 Mar 2006 03:48:22 +0000 (14:48 +1100)
commita7f31841a40776605c834053ad1eb82d539bd79f
treec603bce363b9feed7251ef9a29a2edf31009178e
parent5536408c21cdde38bfdbb59a6fd4fcbf1232699f
[PATCH] powerpc: declare arch syscalls in <asm/syscalls.h>

powerpc currently declares some of its own system calls
in <asm/unistd.h>, but not all of them. That place also
contains remainders of the now almost unused kernel syscall
hack.

 - Add a new <asm/syscalls.h> with clean declarations
 - Include that file from every source that implements one
   of these
 - Get rid of old declarations in <asm/unistd.h>

This patch is required as a base for implementing system
calls from an SPU, but also makes sense as a general
cleanup.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/process.c
arch/powerpc/kernel/rtas.c
arch/powerpc/kernel/signal_32.c
arch/powerpc/kernel/signal_64.c
arch/powerpc/kernel/syscalls.c
include/asm-powerpc/syscalls.h [new file with mode: 0644]
include/asm-powerpc/unistd.h