summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/getrandom.cc
diff options
context:
space:
mode:
authorHaibo Xu <haibo.xu@arm.com>2020-03-20 08:45:07 +0000
committerHaibo Xu <haibo.xu@arm.com>2020-03-31 13:39:38 +0800
commit8ce5b569714351f9f2f7fc48b0ff0bebbdb018ee (patch)
treede4b412b806df5b1e7730b2d75074b5c404f1cd9 /test/syscalls/linux/getrandom.cc
parent32a133537e61bbceb6a0a16c95815495d8f17a35 (diff)
Cleanup for syscall tests on arm64.
Signed-off-by: Haibo Xu <haibo.xu@arm.com> Change-Id: I8008c0375fc7e23225a21026f359e78e691729e5
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