Skip to content

Commit

Permalink
[POWERPC] Allocate syscall number for sys_getcpu
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Mar 12, 2007
1 parent f57e843 commit 4cd723b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/asm-powerpc/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4cd723b

Please sign in to comment.