mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
FROMLIST: KVM: arm64: Use defined value for SCTLR_ELx_EE
Replace the hardcoded value with the existing definition. No functional change intended. Signed-off-by: Fuad Tabba <tabba@google.com> Link: https://lore.kernel.org/r/20211208192810.657360-1-tabba@google.com Signed-off-by: Quentin Perret <qperret@google.com> Bug: 209580772 Change-Id: I80b23293060ff773bbb1ff8da5d36bfc3b517936
This commit is contained in:
committed by
Quentin Perret
parent
ac233f3893
commit
e8a81778fe
@@ -386,7 +386,7 @@ static inline void kvm_vcpu_set_be(struct kvm_vcpu *vcpu)
|
||||
*vcpu_cpsr(vcpu) |= PSR_AA32_E_BIT;
|
||||
} else {
|
||||
u64 sctlr = vcpu_read_sys_reg(vcpu, SCTLR_EL1);
|
||||
sctlr |= (1 << 25);
|
||||
sctlr |= SCTLR_ELx_EE;
|
||||
vcpu_write_sys_reg(vcpu, sctlr, SCTLR_EL1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user