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 2e639d7604f6a05bdcb51b9d1bbf937d762e9f4c..dadcada6df8b9cdb0965f1fa20d9e1a41c197a28 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 8eefb12d1d33f3fc87195a0cd9efe0d0fd0301b2..4e779912ec4e7983eecd35425b3f8fdb12b85c53 100644 (file)
        ENTRY_SAME(memfd_create)        /* 340 */
        ENTRY_SAME(bpf)
        ENTRY_COMP(execveat)
+       ENTRY_SAME(membarrier)
 
 
 .ifne (. - 90b) - (__NR_Linux_syscalls * (91b - 90b))