powerpc/mm: Use a helper for finding pte bits mapping I/O area
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Fri, 29 Apr 2016 13:25:37 +0000 (23:25 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 1 May 2016 08:32:32 +0000 (18:32 +1000)
commit72176dd0ad36c6d8e13515d085f7a229a55a2985
treefa00f7e4d0a536375411b2d2f54de0421b98bff1
parente58e87adc8bf92e9c6abb1dc1f4af2500aa07ff3
powerpc/mm: Use a helper for finding pte bits mapping I/O area

Use a helper instead of open coding with constants. A later patch will
drop the WIMG bits and use PowerISA 3.0 defines.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/btext.c
arch/powerpc/kernel/isa-bridge.c
arch/powerpc/kernel/pci_64.c
arch/powerpc/mm/pgtable_64.c
arch/powerpc/platforms/ps3/spu.c
drivers/pcmcia/electra_cf.c