From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Lameter Date: Tue, 23 May 2006 17:44:05 +0000 Subject: [4/5] move_pages: x86_64 support Message-Id: <20060523174405.10156.45361.sendpatchset@schroedinger.engr.sgi.com> List-Id: References: <20060523174344.10156.66845.sendpatchset@schroedinger.engr.sgi.com> In-Reply-To: <20060523174344.10156.66845.sendpatchset@schroedinger.engr.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: akpm@osdl.org Cc: Hugh Dickins , linux-ia64@vger.kernel.org, Peter Zijlstra , Lee Schermerhorn , Nick Piggin , linux-mm@kvack.org, Andi Kleen , KAMEZAWA Hiroyuki , Christoph Lameter sys_move_pages support for x86_64 Only compile-tested. Signed-off-by: Christoph Lameter Index: linux-2.6.17-rc4-mm1/include/asm-x86_64/unistd.h =================================--- linux-2.6.17-rc4-mm1.orig/include/asm-x86_64/unistd.h 2006-05-21 00:18:04.000000000 +1000 +++ linux-2.6.17-rc4-mm1/include/asm-x86_64/unistd.h 2006-05-21 00:19:33.000000000 +1000 @@ -617,10 +617,12 @@ __SYSCALL(__NR_sync_file_range, sys_sync_file_range) #define __NR_vmsplice 278 __SYSCALL(__NR_vmsplice, sys_vmsplice) +#define __NR_move_pages 279 +__SYSCALL(__NR_move_pages, sys_move_pages) #ifdef __KERNEL__ -#define __NR_syscall_max __NR_vmsplice +#define __NR_syscall_max __NR_move_pages #ifndef __NO_STUBS