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.ku...@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
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to