[PATCH -mm] x86_64 mm generic getcpu syscall fix

From: Cedric Le Goater
Date: Fri Sep 22 2006 - 07:47:54 EST


Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18-rc7/2.6.18-rc7-mm1/

while working on a new syscall, i've noticed that the getcpu
patch x86_64-mm-generic-getcpu-syscall.patch does not increase
NR_syscalls. shouldn't it ?

C.

Signed-off-by: Cedric Le Goater <clg@xxxxxxxxxx>
---
include/asm-i386/unistd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: 2.6.18-rc7-mm1/include/asm-i386/unistd.h
===================================================================
--- 2.6.18-rc7-mm1.orig/include/asm-i386/unistd.h
+++ 2.6.18-rc7-mm1/include/asm-i386/unistd.h
@@ -327,7 +327,7 @@

#ifdef __KERNEL__

-#define NR_syscalls 318
+#define NR_syscalls 319
#include <linux/err.h>

/*

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/