aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-03-09 11:54:57 +1100
committerPaul Mackerras <paulus@samba.org>2007-03-12 15:48:35 +1100
commit4cd723b4a0cc3e061e0a3fd86a1ec9a227f17c0b (patch)
tree96841978c61b7fbbbcf47d32536b5ab0e0154f68
parentf57e8430bd2546f6dcdf7d58e66b4965e1fd5c56 (diff)
[POWERPC] Allocate syscall number for sys_getcpu
I forgot to do this when wiring up the syscall. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--include/asm-powerpc/unistd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-powerpc/unistd.h b/include/asm-powerpc/unistd.h
index 0ae954e3d25..bcc21bf56a1 100644
--- a/include/asm-powerpc/unistd.h
+++ b/include/asm-powerpc/unistd.h
@@ -324,10 +324,11 @@
#define __NR_get_robust_list 299
#define __NR_set_robust_list 300
#define __NR_move_pages 301
+#define __NR_getcpu 302
#ifdef __KERNEL__
-#define __NR_syscalls 302
+#define __NR_syscalls 303
#define __NR__exit __NR_exit
#define NR_syscalls __NR_syscalls