KVM: PPC: Make XER load 32 bit
authorAlexander Graf <agraf@suse.de>
Wed, 24 Mar 2010 20:48:26 +0000 (21:48 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:17:04 +0000 (12:17 +0300)
commit1bec1677ca5b3406dc1f174b61beaeb832eed715
treeb02f63cfeceb0238ee6f75229a4ab50e955e9c6b
parentc04a695a4484467889d0c91c2e377c6abcecd5d5
KVM: PPC: Make XER load 32 bit

We have a 32 bit value in the PACA to store XER in. We also do an stw
when storing XER in there. But then we load it with ld, completely
screwing it up on every entry.

Welcome to the Big Endian world.

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