summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/pte-common.h
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2016-04-29 15:25:29 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2016-05-01 10:32:19 +0200
commitee3caed37d763ab28f8ac55563f38fb7530c6252 (patch)
tree61ed790bc3dbbb5ac39c6f95aace931b5712caf3 /arch/powerpc/include/asm/pte-common.h
parentpowerpc/mm: Use big endian Linux page tables for book3s 64 (diff)
downloadlinux-ee3caed37d763ab28f8ac55563f38fb7530c6252.tar.xz
linux-ee3caed37d763ab28f8ac55563f38fb7530c6252.zip
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 'arch/powerpc/include/asm/pte-common.h')
0 files changed, 0 insertions, 0 deletions