Re: [PATCH 1/5] powerpc/mm: define empty update_mmu_cache() as static inline

2019-08-22 Thread Michael Ellerman
On Fri, 2019-08-16 at 05:41:40 UTC, Christophe Leroy wrote: > Only BOOK3S and FSL_BOOK3E have a usefull update_mmu_cache(). > > For the others, just define it static inline. > > In the meantime, simplify the FSL_BOOK3E related ifdef as > book3e_hugetlb_preload() only exists when CONFIG_PPC_FSL_BO

[PATCH 1/5] powerpc/mm: define empty update_mmu_cache() as static inline

2019-08-15 Thread Christophe Leroy
Only BOOK3S and FSL_BOOK3E have a usefull update_mmu_cache(). For the others, just define it static inline. In the meantime, simplify the FSL_BOOK3E related ifdef as book3e_hugetlb_preload() only exists when CONFIG_PPC_FSL_BOOK3E is selected. Signed-off-by: Christophe Leroy --- arch/powerpc/in