diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2013-07-09 05:45:49 -0400 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2014-07-11 07:57:37 -0400 |
commit | 754d37726010d872f1f714a8ce8920acdfa4978c (patch) | |
tree | 0b312f8190980040a52dbc8667d5a78f10fe72be /arch/arm64/include/asm/kvm_asm.h | |
parent | b2fb1c0d378399e1427a91bb991c094f2ca09a2f (diff) |
arm64: KVM: vgic: add GICv3 world switch
Introduce the GICv3 world switch code used to save/restore the
GICv3 context.
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/kvm_asm.h')
-rw-r--r-- | arch/arm64/include/asm/kvm_asm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/kvm_asm.h b/arch/arm64/include/asm/kvm_asm.h index ed4987bf9ac7..a28c35b337ec 100644 --- a/arch/arm64/include/asm/kvm_asm.h +++ b/arch/arm64/include/asm/kvm_asm.h | |||
@@ -110,6 +110,8 @@ extern u64 __vgic_v3_get_ich_vtr_el2(void); | |||
110 | 110 | ||
111 | extern char __save_vgic_v2_state[]; | 111 | extern char __save_vgic_v2_state[]; |
112 | extern char __restore_vgic_v2_state[]; | 112 | extern char __restore_vgic_v2_state[]; |
113 | extern char __save_vgic_v3_state[]; | ||
114 | extern char __restore_vgic_v3_state[]; | ||
113 | 115 | ||
114 | #endif | 116 | #endif |
115 | 117 | ||