]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Re-enable ARCH_ENABLE_SPLIT_PMD_PTLOCK
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Thu, 19 Aug 2021 11:39:54 +0000 (13:39 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 20 Aug 2021 02:38:50 +0000 (12:38 +1000)
commit7cedb149c9d7da33b6d01b6c0b8e5afad4d6ddf6
tree47d989f71ac2f9ac176524651d2548536f54a109
parent592676f9ce996df0586a4b29f3bdf734df0c7d3c
powerpc: Re-enable ARCH_ENABLE_SPLIT_PMD_PTLOCK

Commit 912d477c28c1 ("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: 912d477c28c1 ("mm: drop redundant ARCH_ENABLE_SPLIT_PMD_PTLOCK")
Cc: stable@vger.kernel.org # v5.13+
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Reviewed-by: Daniel Axtens <dja@axtens.net>
[mpe: Reword change log to make it clear this is a bug fix]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210819113954.17515-3-lukas.bulwahn@gmail.com
arch/powerpc/platforms/Kconfig.cputype