diff options
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 33bc56cf60d7..07a6fac930c5 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -1960,6 +1960,16 @@ config TEST_STATIC_KEYS | |||
1960 | 1960 | ||
1961 | If unsure, say N. | 1961 | If unsure, say N. |
1962 | 1962 | ||
1963 | config BUG_ON_DATA_CORRUPTION | ||
1964 | bool "Trigger a BUG when data corruption is detected" | ||
1965 | select CONFIG_DEBUG_LIST | ||
1966 | help | ||
1967 | Select this option if the kernel should BUG when it encounters | ||
1968 | data corruption in kernel memory structures when they get checked | ||
1969 | for validity. | ||
1970 | |||
1971 | If unsure, say N. | ||
1972 | |||
1963 | source "samples/Kconfig" | 1973 | source "samples/Kconfig" |
1964 | 1974 | ||
1965 | source "lib/Kconfig.kgdb" | 1975 | source "lib/Kconfig.kgdb" |