]> err.no Git - linux-2.6/commitdiff
[POWERPC] Wire up sys_move_pages
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 13 Nov 2006 03:52:42 +0000 (14:52 +1100)
committerPaul Mackerras <paulus@samba.org>
Wed, 15 Nov 2006 23:31:14 +0000 (10:31 +1100)
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>
include/asm-powerpc/systbl.h
include/asm-powerpc/unistd.h

index c6a03187f9326839616bd7e0f8dc5dcae0b65f6c..97b4354841774c1b8700252800b49154fcb47723 100644 (file)
@@ -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)
index b5fe93291c969e8ef79c249f353f65222649ba9c..0e4ea37f646602f0ca1908ecd2109d1ffae53fb3 100644 (file)
 #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