Skip to contentSkip to conversation

ia64: Increase NR_syscalls to match size of syscall table

PATCH New Guenter Roeck 1 participant 1 message Jul 21, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ia64: Increase NR_syscalls to match size of syscall table

Commit 05aa30a22eff ("mm: mlock: add new mlock, munlock, and munlockall system calls") added new system calls, but did not increase the size of the syscall table for the ia64 architecture, resulting in the following build error.

arch/ia64/kernel/entry.S: Assembler messages:
arch/ia64/kernel/entry.S:1775: Error: attempt to move .org backwards

Fixes 05aa30a22eff ("mm: mlock: add new mlock, munlock, and munlockall

system calls")

Cc Eric B Munson <[email protected]>
Cc Andrew Morton <[email protected]>
---
 arch/ia64/include/asm/unistd.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/ia64/include/asm/unistd.h +1 -1
index 95c39b95e97e..db73390568c8 100644
@@ -11,7 +11,7 @@
 
 
 
-#define NR_syscalls			319 /* length of syscall table */
+#define NR_syscalls			322 /* length of syscall table */
 
 /*
  * The following defines stop scripts/checksyscalls.sh from complaining about
Signature · 1 line
2.1.0