aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-11-20 11:20:04 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-20 11:20:04 -0500
commit2f255351c133318cf9e0e4a003ca345bef5914fc (patch)
tree45d7ad5db4f43a46cf2bfa77ab4e37c73661b11c
parent86eaf54d07f239243f674d6256e5c4be6578348a (diff)
parent1451ad03fac3e86948728e0b11f63dee73d3106c (diff)
Merge tag 'powerpc-4.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
Pull powerpc fixlet from Michael Ellerman: "Wire up sys_mlock2()" * tag 'powerpc-4.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: powerpc: Wire up sys_mlock2()
-rw-r--r--arch/powerpc/include/asm/systbl.h1
-rw-r--r--arch/powerpc/include/asm/unistd.h2
-rw-r--r--arch/powerpc/include/uapi/asm/unistd.h1
3 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/systbl.h b/arch/powerpc/include/asm/systbl.h
index c9e26cb264f4..f2b0b1b0c72a 100644
--- a/arch/powerpc/include/asm/systbl.h
+++ b/arch/powerpc/include/asm/systbl.h
@@ -382,3 +382,4 @@ COMPAT_SYS(shmat)
382SYSCALL(shmdt) 382SYSCALL(shmdt)
383SYSCALL(shmget) 383SYSCALL(shmget)
384COMPAT_SYS(shmctl) 384COMPAT_SYS(shmctl)
385SYSCALL(mlock2)
diff --git a/arch/powerpc/include/asm/unistd.h b/arch/powerpc/include/asm/unistd.h
index 6d8f8023ac27..4b6b8ace18e0 100644
--- a/arch/powerpc/include/asm/unistd.h
+++ b/arch/powerpc/include/asm/unistd.h
@@ -12,7 +12,7 @@
12#include <uapi/asm/unistd.h> 12#include <uapi/asm/unistd.h>
13 13
14 14
15#define __NR_syscalls 378 15#define __NR_syscalls 379
16 16
17#define __NR__exit __NR_exit 17#define __NR__exit __NR_exit
18#define NR_syscalls __NR_syscalls 18#define NR_syscalls __NR_syscalls
diff --git a/arch/powerpc/include/uapi/asm/unistd.h b/arch/powerpc/include/uapi/asm/unistd.h
index 81579e93c659..1effea5193d6 100644
--- a/arch/powerpc/include/uapi/asm/unistd.h
+++ b/arch/powerpc/include/uapi/asm/unistd.h
@@ -400,5 +400,6 @@
400#define __NR_shmdt 375 400#define __NR_shmdt 375
401#define __NR_shmget 376 401#define __NR_shmget 376
402#define __NR_shmctl 377 402#define __NR_shmctl 377
403#define __NR_mlock2 378
403 404
404#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */ 405#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */