summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/getrandom.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/syscalls/linux/getrandom.cc')
-rw-r--r--test/syscalls/linux/getrandom.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/syscalls/linux/getrandom.cc b/test/syscalls/linux/getrandom.cc
index f97f60029..f87cdd7a1 100644
--- a/test/syscalls/linux/getrandom.cc
+++ b/test/syscalls/linux/getrandom.cc
@@ -29,6 +29,8 @@ namespace {
#define SYS_getrandom 318
#elif defined(__i386__)
#define SYS_getrandom 355
+#elif defined(__aarch64__)
+#define SYS_getrandom 278
#else
#error "Unknown architecture"
#endif