summaryrefslogtreecommitdiff
path: root/arch/parisc/Kconfig.debug
blob: 56d35315f88ed5d901eeaf32526cb2abfaa21059 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# SPDX-License-Identifier: GPL-2.0
#
config LIGHTWEIGHT_SPINLOCK_CHECK
	bool "Enable lightweight spinlock checks"
	depends on DEBUG_KERNEL && SMP && !DEBUG_SPINLOCK
	default y
	help
	  Add checks with low performance impact to the spinlock functions
	  to catch memory overwrites at runtime. For more advanced
	  spinlock debugging you should choose the DEBUG_SPINLOCK option
	  which will detect unitialized spinlocks too.
	  If unsure say Y here.