Skip to content

Commit

Permalink
powerpc/Kconfig: select PPC_MM_SLICES from subarch type
Browse files Browse the repository at this point in the history
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 <aneesh.kumar@linux.ibm.com>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
  • Loading branch information
Christophe Leroy authored and Michael Ellerman committed May 2, 2019
1 parent 7a792d5 commit e7a7be5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/platforms/Kconfig.cputype
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ config PPC_8xx
select SYS_SUPPORTS_HUGETLBFS
select PPC_HAVE_KUEP
select PPC_HAVE_KUAP
select PPC_MM_SLICES if HUGETLB_PAGE

config 40x
bool "AMCC 40x"
Expand Down Expand Up @@ -79,6 +80,7 @@ config PPC_BOOK3S_64
select ARCH_ENABLE_THP_MIGRATION if TRANSPARENT_HUGEPAGE
select ARCH_SUPPORTS_NUMA_BALANCING
select IRQ_WORK
select PPC_MM_SLICES

config PPC_BOOK3E_64
bool "Embedded processors"
Expand Down Expand Up @@ -401,8 +403,6 @@ config PPC_BOOK3E_MMU

config PPC_MM_SLICES
bool
default y if PPC_BOOK3S_64
default y if PPC_8xx && HUGETLB_PAGE

config PPC_HAVE_PMU_SUPPORT
bool
Expand Down

0 comments on commit e7a7be5

Please sign in to comment.