[PATCH] [POWERPC] Check that the syscall table matches the syscall numbers

2008-01-02 Thread Stephen Rothwell
Hopefully this will catch any out of order additions to the table in the future. Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/kernel/systbl.S| 44 arch/powerpc/platforms/cell/spu_callbacks.c |3 ++ include/asm-powerpc/systbl.h

[PATCH] [POWERPC] Check that the syscall table matches the syscall numbers

2008-01-06 Thread Stephen Rothwell
Also check that __NR_syscalls has been updated appropriately. Hopefully this will catch any out of order additions to the table in the future. Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/kernel/Makefile | 10 ++ arch/powerpc/kernel/systbl_chk.c | 58 +++