powerpc/mm: Move pgdir setting into a helper
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 24 Jul 2017 04:27:58 +0000 (14:27 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 23 Aug 2017 12:27:42 +0000 (22:27 +1000)
commit43ed84a891b70165a621a5c92196949efd57be39
tree1570af2ea5fb592218957c74d00e9736435b0a69
parent3e23a12bcaf18b3587088807722cd25b562d7731
powerpc/mm: Move pgdir setting into a helper

Makes switch_mm_irqs_off() a bit more readable

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/mmu_context.h