diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2015-09-16 21:21:50 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-09-21 17:27:08 +1000 |
commit | 793b8bf9ca17aee3b995c095058e6c4e7bd72e02 (patch) | |
tree | 2a41a91eb56d7993880f8a54d6823b4501569b4f /arch/powerpc/include/uapi/asm | |
parent | 1f93e4a96c9109378204c147b3eec0d0e8100fde (diff) | |
download | op-kernel-dev-793b8bf9ca17aee3b995c095058e6c4e7bd72e02.zip op-kernel-dev-793b8bf9ca17aee3b995c095058e6c4e7bd72e02.tar.gz |
powerpc: Wire up sys_membarrier()
The selftest passes on 64-bit LE & BE, and 32-bit.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/uapi/asm')
-rw-r--r-- | arch/powerpc/include/uapi/asm/unistd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/uapi/asm/unistd.h b/arch/powerpc/include/uapi/asm/unistd.h index 6ad58d4..6337738 100644 --- a/arch/powerpc/include/uapi/asm/unistd.h +++ b/arch/powerpc/include/uapi/asm/unistd.h @@ -387,5 +387,6 @@ #define __NR_execveat 362 #define __NR_switch_endian 363 #define __NR_userfaultfd 364 +#define __NR_membarrier 365 #endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */ |