Skip to content
Commit ee3caed3 authored by Michael Ellerman's avatar Michael Ellerman
Browse files

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: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 5dc1ef85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment