parisc: allocate sys_membarrier system call number

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>
This commit is contained in:
Mathieu Desnoyers 2015-09-07 12:15:51 -04:00 committed by Helge Deller
parent 7379047d55
commit b6096755f4
2 changed files with 3 additions and 1 deletions

View File

@ -358,8 +358,9 @@
#define __NR_memfd_create (__NR_Linux + 340) #define __NR_memfd_create (__NR_Linux + 340)
#define __NR_bpf (__NR_Linux + 341) #define __NR_bpf (__NR_Linux + 341)
#define __NR_execveat (__NR_Linux + 342) #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 */ #define __IGNORE_select /* newselect */

View File

@ -438,6 +438,7 @@
ENTRY_SAME(memfd_create) /* 340 */ ENTRY_SAME(memfd_create) /* 340 */
ENTRY_SAME(bpf) ENTRY_SAME(bpf)
ENTRY_COMP(execveat) ENTRY_COMP(execveat)
ENTRY_SAME(membarrier)
.ifne (. - 90b) - (__NR_Linux_syscalls * (91b - 90b)) .ifne (. - 90b) - (__NR_Linux_syscalls * (91b - 90b))