]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S_64 PR: Access HTAB in big endian
authorAlexander Graf <agraf@suse.de>
Thu, 24 Apr 2014 10:54:54 +0000 (12:54 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 30 May 2014 12:26:19 +0000 (14:26 +0200)
commit98bd31d2475f814cca3844102f8c5b3c559f4921
tree7876a46c921fce704c1178cc7e2a05ab7d200ae3
parent49ec8a6e23d89adf9fbc9fbe26a4bfcea61aa84c
KVM: PPC: Book3S_64 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_64_mmu.c