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