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/asm | |
parent | 1f93e4a96c9109378204c147b3eec0d0e8100fde (diff) | |
download | blackbird-op-linux-793b8bf9ca17aee3b995c095058e6c4e7bd72e02.tar.gz blackbird-op-linux-793b8bf9ca17aee3b995c095058e6c4e7bd72e02.zip |
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/asm')
-rw-r--r-- | arch/powerpc/include/asm/systbl.h | 1 | ||||
-rw-r--r-- | arch/powerpc/include/asm/unistd.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/systbl.h b/arch/powerpc/include/asm/systbl.h index 4d65499ee1c1..126d0c4f9b7d 100644 --- a/arch/powerpc/include/asm/systbl.h +++ b/arch/powerpc/include/asm/systbl.h @@ -369,3 +369,4 @@ SYSCALL_SPU(bpf) COMPAT_SYS(execveat) PPC64ONLY(switch_endian) SYSCALL_SPU(userfaultfd) +SYSCALL_SPU(membarrier) diff --git a/arch/powerpc/include/asm/unistd.h b/arch/powerpc/include/asm/unistd.h index 4a055b6c2a64..13411be86041 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 365 +#define __NR_syscalls 366 #define __NR__exit __NR_exit #define NR_syscalls __NR_syscalls |