]> bbs.cooldavid.org Git - net-next-2.6.git/commit
KVM: PPC: Add kvm_book3s_64.h
authorAlexander Graf <agraf@suse.de>
Thu, 15 Apr 2010 22:11:37 +0000 (00:11 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:18:21 +0000 (12:18 +0300)
commit3ae07890dd40e40fa78270900894fba3bb448439
treebb980cea0e4e5d9dbe32551df9049daee3efa434
parentc83ec269e6931edf61abe1ed777ebb867b06a85c
KVM: PPC: Add kvm_book3s_64.h

In the process of generalizing as much code as possible, I also moved
the shadow vcpu code together to a generic book3s file. Unfortunately
the location of the shadow vcpu is different on 32 and 64 bit, so we
need a wrapper function to tell us where it is.

That sounded like a perfect fit for a subarch specific header file.
Here we can put anything that needs to be different between those two.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/include/asm/kvm_book3s_64.h [new file with mode: 0644]