diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2016-04-29 13:25:29 (GMT) |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-05-01 08:32:19 (GMT) |
commit | ee3caed37d763ab28f8ac55563f38fb7530c6252 (patch) | |
tree | 61ed790bc3dbbb5ac39c6f95aace931b5712caf3 /samples | |
parent | 5dc1ef858c12f865e3676727e03519bece4ce6c1 (diff) | |
download | linux-ee3caed37d763ab28f8ac55563f38fb7530c6252.tar.xz |
powerpc/mm: Use pte_raw() in pte_same()/pmd_same()
We can avoid doing endian conversions by using pte_raw() in pxx_same().
The swap of the constant (_PAGE_HPTEFLAGS) should be done at compile
time by the compiler.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions