[PATCH 09/65] powerpc/mm: Use helper for finding pte bits mapping I/O area

Balbir Singh bsingharora at gmail.com
Tue Apr 5 21:47:22 AEST 2016



On 27/03/16 19:23, Aneesh Kumar K.V wrote:
> Use helper instead of opencoding with constants. Later patch will
> drop the WIMG bits and use PowerISA 3.0 defines
>
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
> ---
>  arch/powerpc/kernel/btext.c      | 2 +-
>  arch/powerpc/kernel/isa-bridge.c | 4 ++--
>  arch/powerpc/kernel/pci_64.c     | 2 +-
>  arch/powerpc/mm/pgtable_64.c     | 4 ++--
>  arch/powerpc/platforms/ps3/spu.c | 2 +-
>  drivers/pcmcia/electra_cf.c      | 2 +-
>  6 files changed, 8 insertions(+), 8 deletions(-)
>
>

To be honest the code is harder to read with these changes

Balbir


More information about the Linuxppc-dev mailing list