aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
Diffstat (limited to 'executor')
-rw-r--r--executor/common_kvm_arm64_syzos.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/executor/common_kvm_arm64_syzos.h b/executor/common_kvm_arm64_syzos.h
index 54d6665f0..0253b6b96 100644
--- a/executor/common_kvm_arm64_syzos.h
+++ b/executor/common_kvm_arm64_syzos.h
@@ -571,8 +571,7 @@ GUEST_CODE static void gicv3_cpu_init(uint32 cpu)
// Enable the GIC system register (ICC_*) access.
uint64 icc_sre_el1 = 0;
asm volatile("mrs %0, " ICC_SRE_EL1
- :
- : "r"(icc_sre_el1));
+ : "=r"(icc_sre_el1));
icc_sre_el1 |= ICC_SRE_EL1_SRE;
asm volatile("msr " ICC_SRE_EL1 ", %0"
: