projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f57e843
)
[POWERPC] Allocate syscall number for sys_getcpu
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Fri, 9 Mar 2007 00:54:57 +0000
(11:54 +1100)
committer
Paul Mackerras
<paulus@samba.org>
Mon, 12 Mar 2007 04:48:35 +0000
(15:48 +1100)
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>
include/asm-powerpc/unistd.h
patch
|
blob
|
history
diff --git
a/include/asm-powerpc/unistd.h
b/include/asm-powerpc/unistd.h
index 0ae954e3d2584e86a95ae717bdc8956e049b3d46..bcc21bf56a12b1a6f10b0012b0b76c5af1332228 100644
(file)
--- 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 30
2
+#define __NR_syscalls 30
3
#define __NR__exit __NR_exit
#define NR_syscalls __NR_syscalls