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>
This commit is contained in:
parent
75c6d0836e
commit
51c70a09c3
|
@ -13,7 +13,7 @@ config LIGHTWEIGHT_SPINLOCK_CHECK
|
||||||
|
|
||||||
config TLB_PTLOCK
|
config TLB_PTLOCK
|
||||||
bool "Use page table locks in TLB fault handler"
|
bool "Use page table locks in TLB fault handler"
|
||||||
depends on SMP
|
depends on DEBUG_KERNEL && SMP
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Select this option to enable page table locking in the TLB
|
Select this option to enable page table locking in the TLB
|
||||||
|
|
Loading…
Reference in New Issue