parisc: Use page table locks only if DEBUG_KERNEL is enabled
authorHelge Deller <deller@gmx.de>
Mon, 14 Aug 2023 08:03:53 +0000 (10:03 +0200)
committerHelge Deller <deller@gmx.de>
Sun, 20 Aug 2023 18:23:46 +0000 (20:23 +0200)
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>
arch/parisc/Kconfig.debug

index bf2b21b..f4f164e 100644 (file)
@@ -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