Skip to content
Commit 6f22bd32 authored by Alexander Graf's avatar Alexander Graf
Browse files

KVM: PPC: Book3S HV: Make HTAB code LE host aware



When running on an LE host all data structures are kept in little endian
byte order. However, the HTAB still needs to be maintained in big endian.

So every time we access any HTAB we need to make sure we do so in the right
byte order. Fix up all accesses to manually byte swap.

Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 8f6822c4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment