All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Philippe Gerum <rpm@xenomai.org>
Cc: adeos-main <adeos-main@gna.org>
Subject: [Adeos-main] [PATCH] x86-2.6.28: fix NR_syscalls defines
Date: Thu, 19 Feb 2009 18:05:40 +0100	[thread overview]
Message-ID: <499D9164.1010600@domain.hid> (raw)

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


                 reply	other threads:[~2009-02-19 17:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=499D9164.1010600@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=adeos-main@gna.org \
    --cc=rpm@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.