commit | 1b2443a547f91cf7f89eed6bddb07394dafae24e | [log] [tgz] |
---|---|---|
author | Christophe Leroy <christophe.leroy@c-s.fr> | Tue Oct 09 13:52:20 2018 +0000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Sun Oct 14 18:04:09 2018 +1100 |
tree | 704a909a224d75f679d4f3919e27edb2fd71da76 | |
parent | ff00552578ba30e2e1625fb559b43f8d082b6522 [diff] |
powerpc/book3s64: Avoid multiple endian conversion in pte helpers In the same spirit as already done in pte query helpers, this patch changes pte setting helpers to perform endian conversions on the constants rather than on the pte value. In the meantime, it changes pte_access_permitted() to use pte helpers for the same reason. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>