]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: PPC: Book3S_32: PR: Access HTAB in big endian
authorAlexander Graf <agraf@suse.de>
Thu, 24 Apr 2014 10:51:44 +0000 (12:51 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 30 May 2014 12:26:19 +0000 (14:26 +0200)
commit860540bc50a174c2dff5e11821375475a5da5f4e
tree69ac545a7e426de358e7fcba81f187f9aeab7d86
parent740f834eb2505e1883b54cfc1644af80834ab6b6
KVM: PPC: Book3S_32: PR: Access HTAB in big endian

The HTAB is always big endian. We access the guest's HTAB using
copy_from/to_user, but don't yet take care of the fact that we might
be running on an LE host.

Wrap all accesses to the guest HTAB with big endian accessors.

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