Skip to content

Commit e7a7be5

Browse files
chleroympe
authored andcommitted
powerpc/Kconfig: select PPC_MM_SLICES from subarch type
Lets select PPC_MM_SLICES from the subarch config item instead of doing it via defaults declaration in the PPC_MM_SLICES item itself. Reviewed-by: Aneesh Kumar K.V <[email protected]> Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
1 parent 7a792d5 commit e7a7be5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/powerpc/platforms/Kconfig.cputype

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ config PPC_8xx
3838
select SYS_SUPPORTS_HUGETLBFS
3939
select PPC_HAVE_KUEP
4040
select PPC_HAVE_KUAP
41+
select PPC_MM_SLICES if HUGETLB_PAGE
4142

4243
config 40x
4344
bool "AMCC 40x"
@@ -79,6 +80,7 @@ config PPC_BOOK3S_64
7980
select ARCH_ENABLE_THP_MIGRATION if TRANSPARENT_HUGEPAGE
8081
select ARCH_SUPPORTS_NUMA_BALANCING
8182
select IRQ_WORK
83+
select PPC_MM_SLICES
8284

8385
config PPC_BOOK3E_64
8486
bool "Embedded processors"
@@ -401,8 +403,6 @@ config PPC_BOOK3E_MMU
401403

402404
config PPC_MM_SLICES
403405
bool
404-
default y if PPC_BOOK3S_64
405-
default y if PPC_8xx && HUGETLB_PAGE
406406

407407
config PPC_HAVE_PMU_SUPPORT
408408
bool

0 commit comments

Comments
 (0)