Skip to content

Commit

Permalink
parisc: allocate sys_membarrier system call number
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
compudj authored and hdeller committed Oct 22, 2015
1 parent 7379047 commit b609675
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/parisc/include/uapi/asm/unistd.h
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,9 @@
#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 */
Expand Down
1 change: 1 addition & 0 deletions arch/parisc/kernel/syscall_table.S
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@
ENTRY_SAME(memfd_create) /* 340 */
ENTRY_SAME(bpf)
ENTRY_COMP(execveat)
ENTRY_SAME(membarrier)


.ifne (. - 90b) - (__NR_Linux_syscalls * (91b - 90b))
Expand Down

0 comments on commit b609675

Please sign in to comment.