]> 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)
commite04d582db7063c62c81ea8333b22ff8cab486b8e
treeb4f9b64847c518d0e0b99815e50f10651e0a08eb
parentf45f21255378adb9959eeb69eaa42bef6ee570aa
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