[PARISC] Use symbolic last syscall in __NR_Linux_syscalls
authorKyle McMartin <kyle@hera.kernel.org>
Wed, 21 Feb 2007 15:36:05 +0000 (15:36 +0000)
committerKyle McMartin <kyle@hera.kernel.org>
Wed, 21 Feb 2007 15:36:05 +0000 (15:36 +0000)
Hopefully will prevent people from forgetting to update this...

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
include/asm-parisc/unistd.h

index 5513bdf11463d7789bc013e305a19ceb50a0ebfb..2f7c40861c91dbb2cae7ca888271140820b6ba12 100644 (file)
 #define __NR_statfs64          (__NR_Linux + 298)
 #define __NR_fstatfs64         (__NR_Linux + 299)
 
 #define __NR_statfs64          (__NR_Linux + 298)
 #define __NR_fstatfs64         (__NR_Linux + 299)
 
-#define __NR_Linux_syscalls     300
+#define __NR_Linux_syscalls     (__NR_fstatfs64 + 1)
 
 #define HPUX_GATEWAY_ADDR       0xC0000004
 #define LINUX_GATEWAY_ADDR      0x100
 
 #define HPUX_GATEWAY_ADDR       0xC0000004
 #define LINUX_GATEWAY_ADDR      0x100