Commit 63646bc9 authored by Tiezhu Yang's avatar Tiezhu Yang Committed by Linus Torvalds

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: default avatarTiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Reviewed-by: default avatarGuenter 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.cnSigned-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f3633177
...@@ -1078,6 +1078,7 @@ config WQ_WATCHDOG ...@@ -1078,6 +1078,7 @@ config WQ_WATCHDOG
config TEST_LOCKUP config TEST_LOCKUP
tristate "Test module to generate lockups" tristate "Test module to generate lockups"
depends on m
help help
This builds the "test_lockup" module that helps to make sure This builds the "test_lockup" module that helps to make sure
that watchdogs and lockup detectors are working properly. that watchdogs and lockup detectors are working properly.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment