Skip to content

Commit

Permalink
[POWERPC] Wire up sys_move_pages
Browse files Browse the repository at this point in the history
All the infrastructure is already in place for this, so we only need
to allocate a syscall number and hook it up.

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 Nov 15, 2006
1 parent 056f4fa commit 9716a34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions include/asm-powerpc/systbl.h
Original file line number Diff line number Diff line change
Expand Up @@ -304,3 +304,4 @@ SYSCALL_SPU(fchmodat)
SYSCALL_SPU(faccessat)
COMPAT_SYS_SPU(get_robust_list)
COMPAT_SYS_SPU(set_robust_list)
COMPAT_SYS(move_pages)
3 changes: 2 additions & 1 deletion include/asm-powerpc/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -323,10 +323,11 @@
#define __NR_faccessat 298
#define __NR_get_robust_list 299
#define __NR_set_robust_list 300
#define __NR_move_pages 301

#ifdef __KERNEL__

#define __NR_syscalls 301
#define __NR_syscalls 302

#define __NR__exit __NR_exit
#define NR_syscalls __NR_syscalls
Expand Down

0 comments on commit 9716a34

Please sign in to comment.