]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm/nohash: MM_SLICE is only used by book3s 64
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tue, 21 Mar 2017 17:29:51 +0000 (22:59 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 31 Mar 2017 12:09:47 +0000 (23:09 +1100)
commitf76ecd84a1786c0b393f93bac2e30f64db98d32c
tree59610d0aef826b040a00399c09be9a3ed802f347
parentf9dca3b76a2103bd8a4236064444d621e0dc6a09
powerpc/mm/nohash: MM_SLICE is only used by book3s 64

BOOKE code is dead code as per the Kconfig details. So make it simpler
by enabling MM_SLICE only for book3s_64. The changes w.r.t nohash is just
removing deadcode. W.r.t ppc64, 4k without hugetlb will now enable MM_SLICE.
But that is good, because we reduce one extra variant which probably is not
getting tested much.

Reviewed-by: Paul Mackerras <paulus@ozlabs.org>
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/mmu-book3e.h
arch/powerpc/include/asm/nohash/64/pgtable.h
arch/powerpc/mm/hugetlbpage-book3e.c
arch/powerpc/mm/mmu_context_nohash.c
arch/powerpc/platforms/Kconfig.cputype