From 8ce5b569714351f9f2f7fc48b0ff0bebbdb018ee Mon Sep 17 00:00:00 2001 From: Haibo Xu Date: Fri, 20 Mar 2020 08:45:07 +0000 Subject: Cleanup for syscall tests on arm64. Signed-off-by: Haibo Xu Change-Id: I8008c0375fc7e23225a21026f359e78e691729e5 --- test/syscalls/linux/mlock.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/syscalls/linux/mlock.cc') 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 -- cgit v1.2.3