Mark Wielaard 24c607
commit 9616e9bc9a1950f70ab1abd1c6ca9abc3f26eb7f
Mark Wielaard 24c607
Author: Mark Wielaard <mark@klomp.org>
Mark Wielaard 24c607
Date:   Fri May 31 15:11:35 2019 +0200
Mark Wielaard 24c607
Mark Wielaard 24c607
    Hook up membarrier syscall for arm-linux.
Mark Wielaard 24c607
Mark Wielaard 24c607
diff --git a/coregrind/m_syswrap/syswrap-arm-linux.c b/coregrind/m_syswrap/syswrap-arm-linux.c
Mark Wielaard 24c607
index 3c5194d55..5e8baf8db 100644
Mark Wielaard 24c607
--- a/coregrind/m_syswrap/syswrap-arm-linux.c
Mark Wielaard 24c607
+++ b/coregrind/m_syswrap/syswrap-arm-linux.c
Mark Wielaard 24c607
@@ -1014,6 +1014,7 @@ static SyscallTableEntry syscall_main_table[] = {
Mark Wielaard 24c607
    LINXY(__NR_getrandom,         sys_getrandom),        // 384
Mark Wielaard 24c607
    LINXY(__NR_memfd_create,      sys_memfd_create),     // 385
Mark Wielaard 24c607
 
Mark Wielaard 24c607
+   LINX_(__NR_membarrier,        sys_membarrier),       // 389
Mark Wielaard 24c607
    LINX_(__NR_copy_file_range,   sys_copy_file_range),  // 391
Mark Wielaard 24c607
 
Mark Wielaard 24c607
    LINXY(__NR_statx,             sys_statx),            // 397