summaryrefslogtreecommitdiffstats
path: root/include/asm-i386
diff options
context:
space:
mode:
authorChristoph Lameter2006-06-23 11:03:56 +0200
committerLinus Torvalds2006-06-23 16:42:53 +0200
commit1b2db9fb7adc4d67d9ce7d16ce79c41ee84730fe (patch)
treed3fc0962ada099d741717d36a3f658c15b20c65a /include/asm-i386
parent[PATCH] sys_move_pages: x86_64 support (diff)
downloadkernel-qcow2-linux-1b2db9fb7adc4d67d9ce7d16ce79c41ee84730fe.tar.gz
kernel-qcow2-linux-1b2db9fb7adc4d67d9ce7d16ce79c41ee84730fe.tar.xz
kernel-qcow2-linux-1b2db9fb7adc4d67d9ce7d16ce79c41ee84730fe.zip
[PATCH] sys_move_pages: 32bit support (i386, x86_64)
sys_move_pages() support for 32bit (i386 plus x86_64 compat layer) Add support for move_pages() on i386 and also add the compat functions necessary to run 32 bit binaries on x86_64. Add compat_sys_move_pages to the x86_64 32bit binary layer. Note that it is not up to date so I added the missing pieces. Not sure if this is done the right way. [akpm@osdl.org: compile fix] Signed-off-by: Christoph Lameter <clameter@sgi.com> Cc: Andi Kleen <ak@muc.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-i386')
-rw-r--r--include/asm-i386/unistd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-i386/unistd.h b/include/asm-i386/unistd.h
index de2ccc149e34..fc1c8ddae149 100644
--- a/include/asm-i386/unistd.h
+++ b/include/asm-i386/unistd.h
@@ -322,10 +322,11 @@
#define __NR_sync_file_range 314
#define __NR_tee 315
#define __NR_vmsplice 316
+#define __NR_move_pages 317
#ifdef __KERNEL__
-#define NR_syscalls 317
+#define NR_syscalls 318
/*
* user-visible error numbers are in the range -1 - -128: see