Skip to content
Commit 36989e7f authored by James Morse's avatar James Morse Committed by Catalin Marinas
Browse files

KVM: arm/arm64: Convert kvm_host_cpu_state to a static per-cpu allocation



kvm_host_cpu_state is a per-cpu allocation made from kvm_arch_init()
used to store the host EL1 registers when KVM switches to a guest.

Make it easier for ASM to generate pointers into this per-cpu memory
by making it a static allocation.

Signed-off-by: default avatarJames Morse <james.morse@arm.com>
Acked-by: default avatarChristoffer Dall <cdall@linaro.org>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 32b03d10
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment