]> xenbits.xensource.com Git - people/aperard/linux-arndale.git/commitdiff
ARM: syscall: wire up sys_migrate_pages.
authorSteve Capper <steve.capper@arm.com>
Wed, 26 Dec 2012 06:28:58 +0000 (11:58 +0530)
committerVasanth Ananthan <vasanthananthan@gmail.com>
Tue, 8 Jan 2013 10:34:48 +0000 (16:04 +0530)
For NUMA support, the sys_migrate_pages syscall is required by
userspace. This patch allocates #379 for this syscall and plumbs
it in.

Signed-off-by: Steve Capper <steve.capper@arm.com>
arch/arm/include/uapi/asm/unistd.h
arch/arm/kernel/calls.S

index ac03bdb4ae442a5e7b0a69cf0252ad84894c1b58..23e3d59599c5cf7b91caa82d05af1dc424401ab3 100644 (file)
 #define __NR_process_vm_readv          (__NR_SYSCALL_BASE+376)
 #define __NR_process_vm_writev         (__NR_SYSCALL_BASE+377)
                                        /* 378 for kcmp */
+#define __NR_migrate_pages             (__NR_SYSCALL_BASE+379)
 
 /*
  * This may need to be greater than __NR_last_syscall+1 in order to
index 831cd38c8d997b32f895fa077f3745c08879d99d..a96af9981ea7244378f78bf7b7ea1750b85ae9b3 100644 (file)
                CALL(sys_process_vm_readv)
                CALL(sys_process_vm_writev)
                CALL(sys_ni_syscall)    /* reserved for sys_kcmp */
+               CALL(sys_migrate_pages)
 #ifndef syscalls_counted
 .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
 #define syscalls_counted