mirror of https://gitee.com/openkylin/linux.git
m68k: Wire up membarrier
$ ./membarrier_test membarrier MEMBARRIER_CMD_QUERY syscall available. membarrier: MEMBARRIER_CMD_SHARED success. membarrier: tests done! $ Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Greg Ungerer <gerg@uclinux.org>
This commit is contained in:
parent
b92858f2be
commit
7f843dab13
|
@ -4,7 +4,7 @@
|
|||
#include <uapi/asm/unistd.h>
|
||||
|
||||
|
||||
#define NR_syscalls 374
|
||||
#define NR_syscalls 375
|
||||
|
||||
#define __ARCH_WANT_OLD_READDIR
|
||||
#define __ARCH_WANT_OLD_STAT
|
||||
|
|
|
@ -379,5 +379,6 @@
|
|||
#define __NR_recvmmsg 371
|
||||
#define __NR_sendmmsg 372
|
||||
#define __NR_userfaultfd 373
|
||||
#define __NR_membarrier 374
|
||||
|
||||
#endif /* _UAPI_ASM_M68K_UNISTD_H_ */
|
||||
|
|
|
@ -394,3 +394,4 @@ ENTRY(sys_call_table)
|
|||
.long sys_recvmmsg
|
||||
.long sys_sendmmsg
|
||||
.long sys_userfaultfd
|
||||
.long sys_membarrier
|
||||
|
|
Loading…
Reference in New Issue