Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1451ad03 authored by Michael Ellerman's avatar Michael Ellerman
Browse files

powerpc: Wire up sys_mlock2()



The selftest passes on 64-bit LE and 32-bit BE.

Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 8005c49d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -382,3 +382,4 @@ COMPAT_SYS(shmat)
SYSCALL(shmdt)
SYSCALL(shmget)
COMPAT_SYS(shmctl)
SYSCALL(mlock2)
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -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_ */