ARM: KVM: promote vfp_host pointer to generic host cpu context
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 8 Apr 2013 15:47:19 +0000 (16:47 +0100)
committerChristoffer Dall <cdall@cs.columbia.edu>
Mon, 29 Apr 2013 05:23:13 +0000 (22:23 -0700)
commit3de50da6901521f9e520b8eb47d092779512e83c
tree2cf4831d97ed5490c14b784581ddaad1ae21ceb7
parent17b1e31f9201fc102ee3ddd409988e47753e22f9
ARM: KVM: promote vfp_host pointer to generic host cpu context

We use the vfp_host pointer to store the host VFP context, should
the guest start using VFP itself.

Actually, we can use this pointer in a more generic way to store
CPU speficic data, and arm64 is using it to dump the whole host
state before switching to the guest.

Simply rename the vfp_host field to host_cpu_context, and the
corresponding type to kvm_cpu_context_t. No change in functionnality.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>
arch/arm/include/asm/kvm_host.h
arch/arm/kernel/asm-offsets.c
arch/arm/kvm/arm.c