]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: PPC: Book3S PR: PAPR: Access HTAB in big endian
authorAlexander Graf <agraf@suse.de>
Thu, 24 Apr 2014 11:09:15 +0000 (13:09 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 30 May 2014 12:26:20 +0000 (14:26 +0200)
commit1692aa3faa5dff40eaa8ba8fb58aad9a91cac640
treeb4f9b64847c518d0e0b99815e50f10651e0a08eb
parent94810ba4edc8fc49c68650306928245f6c0c99fa
KVM: PPC: Book3S PR: PAPR: Access HTAB in big endian

The HTAB on PPC is always in big endian. When we access it via hypercalls
on behalf of the guest and we're running on a little endian host, we need
to make sure we swap the bits accordingly.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s_pr_papr.c