linux/arch/powerpc/include
Michael Ellerman 3910a7f485 powerpc/mm: Add pte_xchg() helper
We have five locations in 64-bit hash MMU code that do a cmpxchg() of a
PTE. Currently doing it inline OK, but in a future patch we will be
converting the PTEs to __be64 in some configs. In that case we will need
casts at every cmpxchg() site in order to keep sparse happy.

So move the logic into a helper, this is a reasonably nice cleanup on
its own.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-05-01 18:32:16 +10:00
..
asm powerpc/mm: Add pte_xchg() helper 2016-05-01 18:32:16 +10:00
uapi/asm powerpc/perf: Assign an id to each powerpc register 2016-04-21 23:32:59 +10:00