diff options
author | Haibo Xu <haibo.xu@arm.com> | 2019-12-06 06:29:24 +0000 |
---|---|---|
committer | Haibo Xu <haibo.xu@arm.com> | 2020-01-17 07:39:57 +0000 |
commit | 82ae857877fdf3492f40bca87657a07892c3f59b (patch) | |
tree | 49c4a304a5a27b7d4537afe28af1fd15cca5b882 /test/util/test_util.cc | |
parent | 574e988f2bc6060078a17f37a377441703c52a22 (diff) |
Enable build of test/syscall tests on arm64.
Signed-off-by: Haibo Xu <haibo.xu@arm.com>
Change-Id: I277d6c708bbf5c3edd7c3568941cfd01dc122e17
Diffstat (limited to 'test/util/test_util.cc')
-rw-r--r-- | test/util/test_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/util/test_util.cc b/test/util/test_util.cc index 848504c88..a4f78eec2 100644 --- a/test/util/test_util.cc +++ b/test/util/test_util.cc @@ -76,7 +76,6 @@ bool IsRunningWithHostinet() { "xchg %%rdi, %%rbx\n" \ : "=a"(a), "=D"(b), "=c"(c), "=d"(d) \ : "a"(a_inp), "2"(c_inp)) -#endif // defined(__x86_64__) CPUVendor GetCPUVendor() { uint32_t eax, ebx, ecx, edx; @@ -93,6 +92,7 @@ CPUVendor GetCPUVendor() { } return CPUVendor::kUnknownVendor; } +#endif // defined(__x86_64__) bool operator==(const KernelVersion& first, const KernelVersion& second) { return first.major == second.major && first.minor == second.minor && |