[POWERPC] Check that the syscall table matches the syscall numbers
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 7 Jan 2008 05:12:44 +0000 (16:12 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 17 Jan 2008 03:57:38 +0000 (14:57 +1100)
commit0a4690cf751db6adb28b9275a6ecbaa6549a9ea8
treeab0076ed230dde1e688ed92a09685e3a7bf0cc7e
parent4ec161cf73bc0b4e5c36843638ef9171896fc0b9
[POWERPC] Check that the syscall table matches the syscall numbers

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 <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/systbl_chk.c [new file with mode: 0644]
arch/powerpc/kernel/systbl_chk.sh [new file with mode: 0644]