aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-11-04 12:35:24 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-11-04 12:35:24 -0400
commitdee119b1fa672d65f34f86fe5cefa81d71ed040e (patch)
tree3f9801db7e0c58e3596132642eba05204951206e
parent1046a2c428bedd64c960dcfd0c57cc69a82fea2f (diff)
parent5569459cd3a828a998dc305ae4141c1e41f25ecb (diff)
Merge branch 'process_vm' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux
* 'process_vm' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux: [IA64] Wire up cross memory attach syscalls
-rw-r--r--arch/ia64/include/asm/unistd.h4
-rw-r--r--arch/ia64/kernel/entry.S2
2 files changed, 5 insertions, 1 deletions
diff --git a/arch/ia64/include/asm/unistd.h b/arch/ia64/include/asm/unistd.h
index 7c928da35b17..7617248f0d11 100644
--- a/arch/ia64/include/asm/unistd.h
+++ b/arch/ia64/include/asm/unistd.h
@@ -321,11 +321,13 @@
321#define __NR_syncfs 1329 321#define __NR_syncfs 1329
322#define __NR_setns 1330 322#define __NR_setns 1330
323#define __NR_sendmmsg 1331 323#define __NR_sendmmsg 1331
324#define __NR_process_vm_readv 1332
325#define __NR_process_vm_writev 1333
324 326
325#ifdef __KERNEL__ 327#ifdef __KERNEL__
326 328
327 329
328#define NR_syscalls 308 /* length of syscall table */ 330#define NR_syscalls 310 /* length of syscall table */
329 331
330/* 332/*
331 * The following defines stop scripts/checksyscalls.sh from complaining about 333 * The following defines stop scripts/checksyscalls.sh from complaining about
diff --git a/arch/ia64/kernel/entry.S b/arch/ia64/kernel/entry.S
index 198c753d1006..5b31d46aff67 100644
--- a/arch/ia64/kernel/entry.S
+++ b/arch/ia64/kernel/entry.S
@@ -1777,6 +1777,8 @@ sys_call_table:
1777 data8 sys_syncfs 1777 data8 sys_syncfs
1778 data8 sys_setns // 1330 1778 data8 sys_setns // 1330
1779 data8 sys_sendmmsg 1779 data8 sys_sendmmsg
1780 data8 sys_process_vm_readv
1781 data8 sys_process_vm_writev
1780 1782
1781 .org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls 1783 .org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls
1782#endif /* __IA64_ASM_PARAVIRTUALIZED_NATIVE */ 1784#endif /* __IA64_ASM_PARAVIRTUALIZED_NATIVE */