public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Deepak Saxena <dsaxena@plexity.net>
To: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>,
	linux-kernel@vger.kernel.org, rmk@arm.linux.org.uk
Subject: [PATCH RT] Fix NR_syscalls in ARM
Date: Fri, 1 Jun 2007 16:10:53 -0700	[thread overview]
Message-ID: <20070601231053.GA26602@plexity.net> (raw)


The -rt patch adds a NR_syscalls symbol to the arm/unistd.h but
it is not the correct value as there are 348 syscalls on ARM
and the existing change sets the symbol to 322.

Signed-off-by: Deepak Saxena <dsaxena@mvista.com>

---

Russell: Why isn't this in mainline? Other arches all seem to have 
this symbol already defined.

Index: linux-2.6.21/include/asm-arm/unistd.h
===================================================================
--- linux-2.6.21.orig/include/asm-arm/unistd.h
+++ linux-2.6.21/include/asm-arm/unistd.h
@@ -375,7 +375,7 @@
 #define __NR_kexec_load			(__NR_SYSCALL_BASE+347)
 
 #ifndef __ASSEMBLY__
-#define NR_syscalls			(__NR_set_mempolicy + 1 - __NR_SYSCALL_BASE)
+#define NR_syscalls			(__NR_kexec_load + 1 - __NR_SYSCALL_BASE)
 #endif
 
 /*

-- 
Deepak Saxena - dsaxena@plexity.net - http://www.plexity.net 

             reply	other threads:[~2007-06-01 23:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-01 23:10 Deepak Saxena [this message]
2007-06-01 23:18 ` [PATCH RT] Fix NR_syscalls in ARM Russell King
2007-06-01 23:27   ` Russell King

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=20070601231053.GA26602@plexity.net \
    --to=dsaxena@plexity.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=rmk@arm.linux.org.uk \
    --cc=tglx@linutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox