diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-04-13 13:57:23 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-13 13:57:23 -0700 |
commit | 7ec23972359a1b0bbedb9818bca2283822ee0a43 (patch) | |
tree | f7d5c064318b8c08e0569d4b2adee0e0937f5c22 /test/syscalls/linux/mlock.cc | |
parent | e1959f58dcf7a5338a04a069b43e690ca1e898e7 (diff) | |
parent | 8ce5b569714351f9f2f7fc48b0ff0bebbdb018ee (diff) |
Merge pull request #2289 from xiaobo55x:syscall_cleanup
PiperOrigin-RevId: 306303148
Diffstat (limited to 'test/syscalls/linux/mlock.cc')
-rw-r--r-- | test/syscalls/linux/mlock.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/syscalls/linux/mlock.cc b/test/syscalls/linux/mlock.cc index 367a90fe1..78ac96bed 100644 --- a/test/syscalls/linux/mlock.cc +++ b/test/syscalls/linux/mlock.cc @@ -199,8 +199,10 @@ TEST(MunlockallTest, Basic) { } #ifndef SYS_mlock2 -#ifdef __x86_64__ +#if defined(__x86_64__) #define SYS_mlock2 325 +#elif defined(__aarch64__) +#define SYS_mlock2 284 #endif #endif |