[Devel] [PATCH RHEL7 COMMIT] ve/ppc: wire OpenVZ-specific syscalls
Konstantin Khorenko
khorenko at odin.com
Thu May 7 09:28:17 PDT 2015
The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-123.1.2.vz7.4.10
------>
commit cebceb5a1d9504197d17b27d17deaf916cd466d0
Author: Kir Kolyshkin <kir at openvz.org>
Date: Thu May 7 20:28:17 2015 +0400
ve/ppc: wire OpenVZ-specific syscalls
This was found while tring to compile the kernel with a stock
config (i.e. no CONFIG_BEANCOUNTERS, CONFIG_VE etc.) and
boot it on IBM Power8.
=============================================================
Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
arch/powerpc/include/asm/systbl.h | 17 +++++++++++++++++
arch/powerpc/include/asm/unistd.h | 2 +-
arch/powerpc/include/uapi/asm/unistd.h | 12 ++++++++++++
3 files changed, 30 insertions(+), 1 deletion(-)
diff --git a/arch/powerpc/include/asm/systbl.h b/arch/powerpc/include/asm/systbl.h
index 43523fe..0221486 100644
--- a/arch/powerpc/include/asm/systbl.h
+++ b/arch/powerpc/include/asm/systbl.h
@@ -359,3 +359,20 @@ COMPAT_SYS(process_vm_readv)
COMPAT_SYS(process_vm_writev)
SYSCALL(finit_module)
SYSCALL(ni_syscall) /* sys_kcmp */
+SYSCALL(ni_syscall) /* 356-360 reserved */
+SYSCALL(ni_syscall)
+SYSCALL(ni_syscall)
+SYSCALL(ni_syscall)
+SYSCALL(ni_syscall)
+SYSCALL(fairsched_mknod)
+SYSCALL(fairsched_rmnod)
+SYSCALL(fairsched_chwt)
+SYSCALL(fairsched_mvpr)
+SYSCALL(fairsched_rate)
+SYSCALL(fairsched_vcpus)
+SYSCALL(fairsched_cpumask)
+SYSCALL(fairsched_nodemask)
+SYSCALL(getluid)
+SYSCALL(setluid)
+SYSCALL(setublimit)
+SYSCALL(ubstat)
diff --git a/arch/powerpc/include/asm/unistd.h b/arch/powerpc/include/asm/unistd.h
index 3ca819f..26b1df6 100644
--- a/arch/powerpc/include/asm/unistd.h
+++ b/arch/powerpc/include/asm/unistd.h
@@ -12,7 +12,7 @@
#include <uapi/asm/unistd.h>
-#define __NR_syscalls 355
+#define __NR_syscalls 372
#define __NR__exit __NR_exit
#define NR_syscalls __NR_syscalls
diff --git a/arch/powerpc/include/uapi/asm/unistd.h b/arch/powerpc/include/uapi/asm/unistd.h
index 74cb4d7..174536e 100644
--- a/arch/powerpc/include/uapi/asm/unistd.h
+++ b/arch/powerpc/include/uapi/asm/unistd.h
@@ -378,5 +378,17 @@
#define __NR_finit_module 353
#define __NR_kcmp 354
+#define __NR_fairsched_mknod 360
+#define __NR_fairsched_rmnod 361
+#define __NR_fairsched_chwt 362
+#define __NR_fairsched_mvpr 363
+#define __NR_fairsched_rate 364
+#define __NR_fairsched_vcpus 365
+#define __NR_fairsched_cpumask 366
+#define __NR_fairsched_nodemask 367
+#define __NR_getluid 368
+#define __NR_setluid 369
+#define __NR_setublimit 370
+#define __NR_ubstat 371
#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */
More information about the Devel
mailing list