aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/kvm_booke.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2010-05-17KVM: PPC: Improve indirect svcpu accessorsAlexander Graf1-0/+96
We already have some inline fuctions we use to access vcpu or svcpu structs, depending on whether we're on booke or book3s. Since we just put a few more registers into the svcpu, we also need to make sure the respective callbacks are available and get used. So this patch moves direct use of the now in the svcpu struct fields to inline function calls. While at it, it also moves the definition of those inline function calls to respective header files for booke and book3s, greatly improving readability. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>