From 57dfe5f81409cb52feb63e89b4199eee26a0489c Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Tue, 8 Dec 2015 20:49:46 +0000 Subject: [PATCH] powerpc, powerpc64: wire up mlock2 syscall * linux/powerpc/syscallent.h [378]: Add mlock2 entry. * linux/powerpc64/syscallent.h: Likewise. --- linux/powerpc/syscallent.h | 3 ++- linux/powerpc64/syscallent.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/linux/powerpc/syscallent.h b/linux/powerpc/syscallent.h index f8f4d1d4..741be444 100644 --- a/linux/powerpc/syscallent.h +++ b/linux/powerpc/syscallent.h @@ -404,7 +404,8 @@ [375] = { 1, TI|TM|SI, SEN(shmdt), "shmdt" }, [376] = { 3, TI, SEN(shmget), "shmget" }, [377] = { 3, TI, SEN(shmctl), "shmctl" }, -[378 ... 399] = { }, +[378] = { 3, TM, SEN(mlock2), "mlock2" }, +[379 ... 399] = { }, #define SYS_socket_subcall 400 #include "subcall.h" diff --git a/linux/powerpc64/syscallent.h b/linux/powerpc64/syscallent.h index 184175fe..81152afb 100644 --- a/linux/powerpc64/syscallent.h +++ b/linux/powerpc64/syscallent.h @@ -399,7 +399,8 @@ [375] = { 1, TI|TM|SI, SEN(shmdt), "shmdt" }, [376] = { 3, TI, SEN(shmget), "shmget" }, [377] = { 3, TI, SEN(shmctl), "shmctl" }, -[378 ... 399] = { }, +[378] = { 3, TM, SEN(mlock2), "mlock2" }, +[379 ... 399] = { }, #define SYS_socket_subcall 400 #include "subcall.h" -- 2.40.0