diff options
| author | Tiezhu Yang <[email protected]> | 2020-08-11 18:34:44 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-08-12 10:58:00 -0700 |
| commit | 63646bc9f95f7faf5345e54a59fd1ecdd4ba5316 (patch) | |
| tree | d5200b058ecb7bbfcdc6f1b0189eb9bab9a76f45 | |
| parent | f36331770406b8e693a3d8d71ab3ccbbeabc7142 (diff) | |
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Cc: Konstantin Khlebnikov <[email protected]>
Cc: Kees Cook <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
| -rw-r--r-- | lib/Kconfig.debug | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index ba12a58b2947..32300eb79d46 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -1078,6 +1078,7 @@ config WQ_WATCHDOG config TEST_LOCKUP tristate "Test module to generate lockups" + depends on m help This builds the "test_lockup" module that helps to make sure that watchdogs and lockup detectors are working properly. |