diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-01-07 00:12:44 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-01-16 22:57:38 -0500 |
commit | 0a4690cf751db6adb28b9275a6ecbaa6549a9ea8 (patch) | |
tree | ab0076ed230dde1e688ed92a09685e3a7bf0cc7e /arch/powerpc/kernel/Makefile | |
parent | 4ec161cf73bc0b4e5c36843638ef9171896fc0b9 (diff) |
[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>
Diffstat (limited to 'arch/powerpc/kernel/Makefile')
-rw-r--r-- | arch/powerpc/kernel/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index 9374bc9a2dd1..d9b377070caa 100644 --- a/arch/powerpc/kernel/Makefile +++ b/arch/powerpc/kernel/Makefile | |||
@@ -91,3 +91,13 @@ obj-$(CONFIG_PPC64) += $(obj64-y) | |||
91 | 91 | ||
92 | extra-$(CONFIG_PPC_FPU) += fpu.o | 92 | extra-$(CONFIG_PPC_FPU) += fpu.o |
93 | extra-$(CONFIG_PPC64) += entry_64.o | 93 | extra-$(CONFIG_PPC64) += entry_64.o |
94 | |||
95 | extra-y += systbl_chk.i | ||
96 | $(obj)/systbl.o: systbl_chk | ||
97 | |||
98 | quiet_cmd_systbl_chk = CALL $< | ||
99 | cmd_systbl_chk = $(CONFIG_SHELL) $< $(obj)/systbl_chk.i | ||
100 | |||
101 | PHONY += systbl_chk | ||
102 | systbl_chk: $(src)/systbl_chk.sh $(obj)/systbl_chk.i | ||
103 | $(call cmd,systbl_chk) | ||