]> git.baikalelectronics.ru Git - kernel.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)
commit0c1db7ecd240f79a1985dc95b3b9571ae9b70090
treeb4f9b64847c518d0e0b99815e50f10651e0a08eb
parent300de2d95ed0ab856bdaa85d203d9011553b1717
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