powerpc/mm: Don't use pte_val as lvalue
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tue, 1 Dec 2015 03:36:34 +0000 (09:06 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 14 Dec 2015 04:19:07 +0000 (15:19 +1100)
commit10bd3808dfd067d6d6c941cc6e1b13be165f6a70
tree51872e473f150d013da13fc9bad52d72c6044f09
parentb0412ea94bcbd08dc1e61043dfdd9c33272cec48
powerpc/mm: Don't use pte_val as lvalue

We also convert few #define to static inline in this patch for better
type checking

Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/pgtable.h
arch/powerpc/include/asm/page.h
arch/powerpc/include/asm/pgtable-book3e.h