KVM: ppc: create struct kvm_vcpu_44x and introduce container_of() accessor
authorHollis Blanchard <hollisb@us.ibm.com>
Wed, 5 Nov 2008 15:36:18 +0000 (09:36 -0600)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:52:22 +0000 (16:52 +0200)
commitdb93f5745d836f81cef0b4101a7c2685eeb55efb
tree970b0dfc93dbbe25eb988b008bbbeffd866f3f23
parent5cbb5106f50b4515815cd32cf944958c0d4da83f
KVM: ppc: create struct kvm_vcpu_44x and introduce container_of() accessor

This patch doesn't yet move all 44x-specific data into the new structure, but
is the first step down that path. In the future we may also want to create a
struct kvm_vcpu_booke.

Based on patch from Liu Yu <yu.liu@freescale.com>.

Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/include/asm/kvm_44x.h [new file with mode: 0644]
arch/powerpc/include/asm/kvm_host.h
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kvm/44x.c
arch/powerpc/kvm/44x_tlb.c
arch/powerpc/kvm/booke.c
arch/powerpc/kvm/booke_interrupts.S
arch/powerpc/kvm/powerpc.c