s390/s390x: allocate sys_membarrier system call number
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 7 Sep 2015 16:15:56 +0000 (12:15 -0400)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 17 Sep 2015 11:43:44 +0000 (13:43 +0200)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: linux-api@vger.kernel.org
CC: Heiko Carstens <heiko.carstens@de.ibm.com>
CC: linux-s390@vger.kernel.org
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/uapi/asm/unistd.h
arch/s390/kernel/syscalls.S

index 1f4acec63d0556cbcb61f3922e7b230e1f7999f0..ff74d4976a6dc7fd410ab7f7204fc9104dfaf14c 100644 (file)
 #define __NR_s390_pci_mmio_read                353
 #define __NR_execveat          354
 #define __NR_userfaultfd       355
-#define NR_syscalls 356
+#define __NR_membarrier                356
+#define NR_syscalls 357
 
 /* 
  * There are some system calls that are not present on 64 bit, some
index 0c91f37f806595b2c6a4397928dee5c4f28cffda..e4167bb73d619e1803954c6cd6ffea94699dfc19 100644 (file)
@@ -364,3 +364,4 @@ SYSCALL(sys_s390_pci_mmio_write,compat_sys_s390_pci_mmio_write)
 SYSCALL(sys_s390_pci_mmio_read,compat_sys_s390_pci_mmio_read)
 SYSCALL(sys_execveat,compat_sys_execveat)
 SYSCALL(sys_userfaultfd,sys_userfaultfd)               /* 355 */
+SYSCALL(sys_membarrier,sys_membarrier)