diff options
author | Szabolcs Nagy <nsz@port70.net> | 2015-11-18 23:31:37 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-01-26 18:28:20 -0500 |
commit | 09001a8f97ac779573976b5838e3d293f1713c5c (patch) | |
tree | 1a45ec88633aa3bd7fd45ee1d42802445930cc56 /arch/powerpc/bits | |
parent | 37bfb68f688772e7ce339ab72b9ddcf86ac1e8a8 (diff) | |
download | musl-09001a8f97ac779573976b5838e3d293f1713c5c.tar.gz musl-09001a8f97ac779573976b5838e3d293f1713c5c.tar.bz2 musl-09001a8f97ac779573976b5838e3d293f1713c5c.tar.xz musl-09001a8f97ac779573976b5838e3d293f1713c5c.zip |
add new membarrier, userfaultfd and switch_endian syscalls
new in linux v4.3 added for aarch64, arm, i386, mips, or1k, powerpc,
x32 and x86_64.
membarrier is a system wide memory barrier, moves most of the
synchronization cost to one side, new in kernel commit
5b25b13ab08f616efd566347d809b4ece54570d1
userfaultfd is useful for qemu and is new in kernel commit
8d2afd96c20316d112e04d935d9e09150e988397
switch_endian is powerpc only for switching endianness, new in commit
529d235a0e190ded1d21ccc80a73e625ebcad09b
Diffstat (limited to 'arch/powerpc/bits')
-rw-r--r-- | arch/powerpc/bits/syscall.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/bits/syscall.h b/arch/powerpc/bits/syscall.h index 36fb6148..2dfec2fa 100644 --- a/arch/powerpc/bits/syscall.h +++ b/arch/powerpc/bits/syscall.h @@ -364,6 +364,9 @@ #define __NR_memfd_create 360 #define __NR_bpf 361 #define __NR_execveat 362 +#define __NR_switch_endian 363 +#define __NR_userfaultfd 364 +#define __NR_membarrier 365 /* * repeated with SYS prefix @@ -734,3 +737,6 @@ #define SYS_memfd_create 360 #define SYS_bpf 361 #define SYS_execveat 362 +#define SYS_switch_endian 363 +#define SYS_userfaultfd 364 +#define SYS_membarrier 365 |