KVM: PPC: Book3S HV: Make HTAB code LE host aware
authorAlexander Graf <agraf@suse.de>
Wed, 11 Jun 2014 08:16:06 +0000 (10:16 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 28 Jul 2014 13:22:22 +0000 (15:22 +0200)
When running on an LE host all data structures are kept in little endian
byte order. However, the HTAB still needs to be maintained in big endian.

So every time we access any HTAB we need to make sure we do so in the right
byte order. Fix up all accesses to manually byte swap.

Signed-off-by: Alexander Graf <agraf@suse.de>

No differences found