powerpc: wire up sys_mlock2
PATCH 1/1 powerpc: wire up sys_mlock2
Tested with tools/testing/selftests/vm/mlock2-tests both on ppc64 and ppc32
Signed-off-by Denis Kirjanov <[email protected]>
--- arch/powerpc/include/asm/systbl.h | 1 + arch/powerpc/include/asm/unistd.h | 2 +- arch/powerpc/include/uapi/asm/unistd.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-)
arch/powerpc/include/asm/systbl.h +1 -0
@@ -382,3 +382,4 @@ COMPAT_SYS(shmat) SYSCALL(shmdt) SYSCALL(shmget) COMPAT_SYS(shmctl) +SYSCALL_SPU(mlock2)
arch/powerpc/include/asm/unistd.h +1 -1
@@ -12,7 +12,7 @@#include <uapi/asm/unistd.h> -#define __NR_syscalls 378 +#define __NR_syscalls 379#define __NR__exit __NR_exit#define NR_syscalls __NR_syscalls
arch/powerpc/include/uapi/asm/unistd.h +1 -0
@@ -400,5 +400,6 @@#define __NR_shmdt 375#define __NR_shmget 376#define __NR_shmctl 377 +#define __NR_mlock2 378#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */
Signature · 1 line
2.4.0
Michael Ellerman
reviewerQuoted 2 lines · Denis Kirjanov
Tested with
tools/testing/selftests/vm/mlock2-testsboth on ppc64 and ppc32
Actually I did this myself and it's been in my fixes branch (which is in linux-next) for a few days. I just asked Linus to pull it.
cheers
Quoted 7 lines · Michael Ellerman
Quoted 2 lines · Denis Kirjanov
Tested with
tools/testing/selftests/vm/mlock2-testsboth on ppc64 and ppc32Actually I did this myself and it's been in my fixes branch (which is in linux-next) for a few days. I just asked Linus to pull it.
Ok, great!
Quoted 7 lines
cheers
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://lists.ozlabs.org/listinfo/linuxppc-dev
--=20
Regards / Mit besten Gr=C3=BC=C3=9Fen,
Denis