diff options
| author | Vincent Legoll <vincent.legoll@gmail.com> | 2018-02-06 18:38:38 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-02-06 21:32:44 -0500 |
| commit | d3deafaa8b5c14cd1a001d0be675fc1e242dce42 (patch) | |
| tree | e2bf46435c9217f7c025f31d39d6cc1ea9a2d947 /lib | |
| parent | 0ade34c37012ea5c516d9aa4d19a56e9f40a55ed (diff) | |
lib/: make RUNTIME_TESTS a menuconfig to ease disabling it all
No need to get into the submenu to disable all related config entries.
This makes it easier to disable all RUNTIME_TESTS config options without
entering the submenu. It will also enable one to see that en/dis-abled
state from the outside menu.
This is only intended to change menuconfig UI, not change the config
dependencies.
Link: http://lkml.kernel.org/r/20171209162742.7363-1-vincent.legoll@gmail.com
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Byungchul Park <byungchul.park@lge.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: "Luis R. Rodriguez" <mcgrof@kernel.org>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Kconfig.debug | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index cb9dd85a8356..1a1423923bcf 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
| @@ -1641,7 +1641,10 @@ config DMA_API_DEBUG | |||
| 1641 | 1641 | ||
| 1642 | If unsure, say N. | 1642 | If unsure, say N. |
| 1643 | 1643 | ||
| 1644 | menu "Runtime Testing" | 1644 | menuconfig RUNTIME_TESTING_MENU |
| 1645 | bool "Runtime Testing" | ||
| 1646 | |||
| 1647 | if RUNTIME_TESTING_MENU | ||
| 1645 | 1648 | ||
| 1646 | config LKDTM | 1649 | config LKDTM |
| 1647 | tristate "Linux Kernel Dump Test Tool Module" | 1650 | tristate "Linux Kernel Dump Test Tool Module" |
| @@ -1929,7 +1932,7 @@ config TEST_DEBUG_VIRTUAL | |||
| 1929 | 1932 | ||
| 1930 | If unsure, say N. | 1933 | If unsure, say N. |
| 1931 | 1934 | ||
| 1932 | endmenu # runtime tests | 1935 | endif # RUNTIME_TESTING_MENU |
| 1933 | 1936 | ||
| 1934 | config MEMTEST | 1937 | config MEMTEST |
| 1935 | bool "Memtest" | 1938 | bool "Memtest" |
