diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2018-10-09 13:52:20 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-10-14 18:04:09 +1100 |
commit | 1b2443a547f91cf7f89eed6bddb07394dafae24e (patch) | |
tree | 704a909a224d75f679d4f3919e27edb2fd71da76 /lib/crc4.c | |
parent | ff00552578ba30e2e1625fb559b43f8d082b6522 (diff) | |
download | linux-1b2443a547f91cf7f89eed6bddb07394dafae24e.tar.bz2 |
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>
Diffstat (limited to 'lib/crc4.c')
0 files changed, 0 insertions, 0 deletions