summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/rseq/syscalls.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/syscalls/linux/rseq/syscalls.h')
-rw-r--r--test/syscalls/linux/rseq/syscalls.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/syscalls/linux/rseq/syscalls.h b/test/syscalls/linux/rseq/syscalls.h
index e5299c188..c4118e6c5 100644
--- a/test/syscalls/linux/rseq/syscalls.h
+++ b/test/syscalls/linux/rseq/syscalls.h
@@ -17,10 +17,13 @@
#include "test/syscalls/linux/rseq/types.h"
-#ifdef __x86_64__
// Syscall numbers.
+#if defined(__x86_64__)
constexpr int kGetpid = 39;
constexpr int kExitGroup = 231;
+#elif defined(__aarch64__)
+constexpr int kGetpid = 172;
+constexpr int kExitGroup = 94;
#else
#error "Unknown architecture"
#endif