* [Adeos-main] [PATCH] x86-2.6.28: fix NR_syscalls defines
@ 2009-02-19 17:05 Jan Kiszka
0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2009-02-19 17:05 UTC (permalink / raw)
To: Philippe Gerum; +Cc: adeos-main
I bet this is also broken in older kernels, but it should be mostly
harmless, may just add unneeded overhead to newer syscalls.
Signed-off-by: Jan Kiszka <jan.kiszka@domain.hid>
---
arch/x86/include/asm/unistd_32.h | 2 +-
arch/x86/include/asm/unistd_64.h | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
Index: b/arch/x86/include/asm/unistd_32.h
===================================================================
--- a/arch/x86/include/asm/unistd_32.h
+++ b/arch/x86/include/asm/unistd_32.h
@@ -339,7 +339,7 @@
#define __NR_pipe2 331
#define __NR_inotify_init1 332
-#define NR_syscalls 327
+#define NR_syscalls 333
#ifdef __KERNEL__
Index: b/arch/x86/include/asm/unistd_64.h
===================================================================
--- a/arch/x86/include/asm/unistd_64.h
+++ b/arch/x86/include/asm/unistd_64.h
@@ -654,8 +654,7 @@ __SYSCALL(__NR_pipe2, sys_pipe2)
#define __NR_inotify_init1 294
__SYSCALL(__NR_inotify_init1, sys_inotify_init1)
-
-#define NR_syscalls 286
+#define NR_syscalls 295
#ifndef __NO_STUBS
#define __ARCH_WANT_OLD_READDIR
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-19 17:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-19 17:05 [Adeos-main] [PATCH] x86-2.6.28: fix NR_syscalls defines Jan Kiszka
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.