lib/Kconfig.debug: make TEST_LOCKUP depend on module
authorTiezhu Yang <yangtiezhu@loongson.cn>
Wed, 12 Aug 2020 01:34:44 +0000 (18:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Aug 2020 17:58:00 +0000 (10:58 -0700)
commit63646bc9f95f7faf5345e54a59fd1ecdd4ba5316
treed5200b058ecb7bbfcdc6f1b0189eb9bab9a76f45
parentf36331770406b8e693a3d8d71ab3ccbbeabc7142
lib/Kconfig.debug: make TEST_LOCKUP depend on module

Since test_lockup is a test module to generate lockups, it is better to
limit TEST_LOCKUP to module (=m) or disabled (=n) because we can not use
the module parameters when CONFIG_TEST_LOCKUP=y.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Cc: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Cc: Kees Cook <keescook@chromium.org>
Link: http://lkml.kernel.org/r/1595555407-29875-1-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/Kconfig.debug