linux/arch/powerpc/include
Michael Ellerman bab4c8de62 powerpc/mm: Define radix_enabled() in one place & use static inline
Currently we have radix_enabled() three times, twice in asm/book3s/64/mmu.h
and then a fallback in asm/mmu.h.

Consolidate them in asm/mmu.h. While we're at it convert them to be
static inlines, and change the fallback case to returning a bool, like
mmu_has_feature().

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-08-01 11:14:59 +10:00
..
asm powerpc/mm: Define radix_enabled() in one place & use static inline 2016-08-01 11:14:59 +10:00
uapi/asm powerpc updates for 4.7 2016-05-20 10:12:41 -07:00