parisc: allocate sys_membarrier system call number
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 7 Sep 2015 16:15:51 +0000 (12:15 -0400)
committerHelge Deller <deller@gmx.de>
Thu, 22 Oct 2015 13:44:13 +0000 (15:44 +0200)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tested-by: Helge Deller <deller@gmx.de>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: linux-api@vger.kernel.org
CC: "James E.J. Bottomley" <jejb@parisc-linux.org>
CC: linux-parisc@vger.kernel.org
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/uapi/asm/unistd.h
arch/parisc/kernel/syscall_table.S

index 2e639d7..dadcada 100644 (file)
 #define __NR_memfd_create      (__NR_Linux + 340)
 #define __NR_bpf               (__NR_Linux + 341)
 #define __NR_execveat          (__NR_Linux + 342)
+#define __NR_membarrier                (__NR_Linux + 343)
 
-#define __NR_Linux_syscalls    (__NR_execveat + 1)
+#define __NR_Linux_syscalls    (__NR_membarrier + 1)
 
 
 #define __IGNORE_select                /* newselect */
index 8eefb12..4e77991 100644 (file)
        ENTRY_SAME(memfd_create)        /* 340 */
        ENTRY_SAME(bpf)
        ENTRY_COMP(execveat)
+       ENTRY_SAME(membarrier)
 
 
 .ifne (. - 90b) - (__NR_Linux_syscalls * (91b - 90b))