Skip to content

Commit 310d2e8

Browse files
bulwahnmpe
authored andcommitted
powerpc: Re-enable ARCH_ENABLE_SPLIT_PMD_PTLOCK
Commit 66f24fa ("mm: drop redundant ARCH_ENABLE_SPLIT_PMD_PTLOCK") broke PMD split page table lock for powerpc. It selects the non-existent config ARCH_ENABLE_PMD_SPLIT_PTLOCK in arch/powerpc/platforms/Kconfig.cputype, but clearly intended to select ARCH_ENABLE_SPLIT_PMD_PTLOCK (notice the word swapping!), as that commit did for all other architectures. Fix it by selecting the correct symbol ARCH_ENABLE_SPLIT_PMD_PTLOCK. Fixes: 66f24fa ("mm: drop redundant ARCH_ENABLE_SPLIT_PMD_PTLOCK") Cc: [email protected] # v5.13+ Signed-off-by: Lukas Bulwahn <[email protected]> Reviewed-by: Daniel Axtens <[email protected]> [mpe: Reword change log to make it clear this is a bug fix] Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 9f7853d commit 310d2e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/powerpc/platforms/Kconfig.cputype

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ config PPC_BOOK3S_64
9898
select PPC_HAVE_PMU_SUPPORT
9999
select HAVE_ARCH_TRANSPARENT_HUGEPAGE
100100
select ARCH_ENABLE_HUGEPAGE_MIGRATION if HUGETLB_PAGE && MIGRATION
101-
select ARCH_ENABLE_PMD_SPLIT_PTLOCK
101+
select ARCH_ENABLE_SPLIT_PMD_PTLOCK
102102
select ARCH_ENABLE_THP_MIGRATION if TRANSPARENT_HUGEPAGE
103103
select ARCH_SUPPORTS_HUGETLBFS
104104
select ARCH_SUPPORTS_NUMA_BALANCING

0 commit comments

Comments
 (0)