diff options
Diffstat (limited to 'arch/arm64/kvm/hyp.S')
-rw-r--r-- | arch/arm64/kvm/hyp.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/kvm/hyp.S b/arch/arm64/kvm/hyp.S index b72aa9f9215c..fbe909fb0a1a 100644 --- a/arch/arm64/kvm/hyp.S +++ b/arch/arm64/kvm/hyp.S | |||
@@ -761,10 +761,10 @@ | |||
761 | .macro activate_traps | 761 | .macro activate_traps |
762 | ldr x2, [x0, #VCPU_HCR_EL2] | 762 | ldr x2, [x0, #VCPU_HCR_EL2] |
763 | msr hcr_el2, x2 | 763 | msr hcr_el2, x2 |
764 | ldr x2, =(CPTR_EL2_TTA) | 764 | mov x2, #CPTR_EL2_TTA |
765 | msr cptr_el2, x2 | 765 | msr cptr_el2, x2 |
766 | 766 | ||
767 | ldr x2, =(1 << 15) // Trap CP15 Cr=15 | 767 | mov x2, #(1 << 15) // Trap CP15 Cr=15 |
768 | msr hstr_el2, x2 | 768 | msr hstr_el2, x2 |
769 | 769 | ||
770 | mrs x2, mdcr_el2 | 770 | mrs x2, mdcr_el2 |