KVM: PPC: Make SLB switching code the new segment framework
authorAlexander Graf <agraf@suse.de>
Thu, 15 Apr 2010 22:11:48 +0000 (00:11 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:18:38 +0000 (12:18 +0300)
commit53e5b8bbbd0d0305234b2cfeae400183db98f993
treeaab01d2962a4b30666edba8e71191240bdda0c83
parentb79fcdf67e9e03773fb032679675d8008d5cc2dc
KVM: PPC: Make SLB switching code the new segment framework

We just introduced generic segment switching code that only needs to call
small macros to do the actual switching, but keeps most of the entry / exit
code generic.

So let's move the SLB switching code over to use this new mechanism.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/book3s_64_slb.S
arch/powerpc/kvm/book3s_rmhandlers.S