nds32: add a Kconfig symbol for LOCKDEP_SUPPORT
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 17 May 2021 03:13:54 +0000 (20:13 -0700)
committerGreentime Hu <green.hu@gmail.com>
Wed, 8 Sep 2021 16:48:02 +0000 (00:48 +0800)
commit36b9b19753937a6fe0e591b518d46a1f2efae679
treebc9f3087f60d694be621d700fb14de7ca5997ec5
parent37160f01e8ea6111b31f75e08953308b51a03d99
nds32: add a Kconfig symbol for LOCKDEP_SUPPORT

Each architecture (arch/) should define its own LOCKDEP_SUPPORT
Kconfig symbol (if it is needed). arch/nds32/ is the only one
that does "select LOCKDEP_SUPPORT", which is basically a no-op
since the symbol is not defined. (It might be nice for kconfig
to warn about that.)

Add a "config LOCKDEP_SUPPORT" to arch/nds32/Kconfig to correct
this issue.

Since the current Kconfig file selects LOCKDEP_SUPPORT unconditionally,
use "def_bool y" to set/enable it always.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Nick Hu <nickhu@andestech.com>
Cc: Greentime Hu <green.hu@gmail.com>
Cc: Vincent Chen <deanbo422@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greentime Hu <green.hu@gmail.com>
arch/nds32/Kconfig