Skip to content
Commit 3dd0d635 authored by James Morse's avatar James Morse
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: James Morse's avatarJames Morse <james.morse@arm.com>
parent fb4b0a1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment