aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-08-14 10:03:53 +0200
committerHelge Deller <deller@gmx.de>2023-08-20 20:23:46 +0200
commit51c70a09c315fd2ad0c836392c6dab53839a59d3 (patch)
treef795207f126be604e897e4496157104c2efcbce5 /arch/parisc
parent75c6d0836e8aeb4287744d3631aa2fe204df6a9a (diff)
downloadlinux-51c70a09c315fd2ad0c836392c6dab53839a59d3.tar.gz
parisc: Use page table locks only if DEBUG_KERNEL is enabled
The usage of page table locks in TLB fault handler is usually only needed when debugging the kernel. So make this configuration option dependend on DEBUG_KERNEL. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/Kconfig.debug2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/Kconfig.debug b/arch/parisc/Kconfig.debug
index bf2b21b96f0bf1..f4f164eb12dfd0 100644
--- a/arch/parisc/Kconfig.debug
+++ b/arch/parisc/Kconfig.debug
@@ -13,7 +13,7 @@ config LIGHTWEIGHT_SPINLOCK_CHECK
config TLB_PTLOCK
bool "Use page table locks in TLB fault handler"
- depends on SMP
+ depends on DEBUG_KERNEL && SMP
default n
help
Select this option to enable page table locking in the TLB