diff options
| -rw-r--r-- | drivers/watchdog/Kconfig | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 16c30e6aa1ee..accbf75032ef 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig | |||
| @@ -2062,6 +2062,20 @@ config WATCHDOG_PRETIMEOUT_GOV | |||
| 2062 | 2062 | ||
| 2063 | if WATCHDOG_PRETIMEOUT_GOV | 2063 | if WATCHDOG_PRETIMEOUT_GOV |
| 2064 | 2064 | ||
| 2065 | config WATCHDOG_PRETIMEOUT_GOV_NOOP | ||
| 2066 | tristate "Noop watchdog pretimeout governor" | ||
| 2067 | default WATCHDOG_CORE | ||
| 2068 | help | ||
| 2069 | Noop watchdog pretimeout governor, only an informational | ||
| 2070 | message is added to kernel log buffer. | ||
| 2071 | |||
| 2072 | config WATCHDOG_PRETIMEOUT_GOV_PANIC | ||
| 2073 | tristate "Panic watchdog pretimeout governor" | ||
| 2074 | default WATCHDOG_CORE | ||
| 2075 | help | ||
| 2076 | Panic watchdog pretimeout governor, on watchdog pretimeout | ||
| 2077 | event put the kernel into panic. | ||
| 2078 | |||
| 2065 | choice | 2079 | choice |
| 2066 | prompt "Default Watchdog Pretimeout Governor" | 2080 | prompt "Default Watchdog Pretimeout Governor" |
| 2067 | default WATCHDOG_PRETIMEOUT_DEFAULT_GOV_PANIC | 2081 | default WATCHDOG_PRETIMEOUT_DEFAULT_GOV_PANIC |
| @@ -2072,7 +2086,7 @@ choice | |||
| 2072 | 2086 | ||
| 2073 | config WATCHDOG_PRETIMEOUT_DEFAULT_GOV_NOOP | 2087 | config WATCHDOG_PRETIMEOUT_DEFAULT_GOV_NOOP |
| 2074 | bool "noop" | 2088 | bool "noop" |
| 2075 | select WATCHDOG_PRETIMEOUT_GOV_NOOP | 2089 | depends on WATCHDOG_PRETIMEOUT_GOV_NOOP |
| 2076 | help | 2090 | help |
| 2077 | Use noop watchdog pretimeout governor by default. If noop | 2091 | Use noop watchdog pretimeout governor by default. If noop |
| 2078 | governor is selected by a user, write a short message to | 2092 | governor is selected by a user, write a short message to |
| @@ -2080,7 +2094,7 @@ config WATCHDOG_PRETIMEOUT_DEFAULT_GOV_NOOP | |||
| 2080 | 2094 | ||
| 2081 | config WATCHDOG_PRETIMEOUT_DEFAULT_GOV_PANIC | 2095 | config WATCHDOG_PRETIMEOUT_DEFAULT_GOV_PANIC |
| 2082 | bool "panic" | 2096 | bool "panic" |
| 2083 | select WATCHDOG_PRETIMEOUT_GOV_PANIC | 2097 | depends on WATCHDOG_PRETIMEOUT_GOV_PANIC |
| 2084 | help | 2098 | help |
| 2085 | Use panic watchdog pretimeout governor by default, if | 2099 | Use panic watchdog pretimeout governor by default, if |
| 2086 | a watchdog pretimeout event happens, consider that | 2100 | a watchdog pretimeout event happens, consider that |
| @@ -2088,18 +2102,6 @@ config WATCHDOG_PRETIMEOUT_DEFAULT_GOV_PANIC | |||
| 2088 | 2102 | ||
| 2089 | endchoice | 2103 | endchoice |
| 2090 | 2104 | ||
| 2091 | config WATCHDOG_PRETIMEOUT_GOV_NOOP | ||
| 2092 | tristate "Noop watchdog pretimeout governor" | ||
| 2093 | help | ||
| 2094 | Noop watchdog pretimeout governor, only an informational | ||
| 2095 | message is added to kernel log buffer. | ||
| 2096 | |||
| 2097 | config WATCHDOG_PRETIMEOUT_GOV_PANIC | ||
| 2098 | tristate "Panic watchdog pretimeout governor" | ||
| 2099 | help | ||
| 2100 | Panic watchdog pretimeout governor, on watchdog pretimeout | ||
| 2101 | event put the kernel into panic. | ||
| 2102 | |||
| 2103 | endif # WATCHDOG_PRETIMEOUT_GOV | 2105 | endif # WATCHDOG_PRETIMEOUT_GOV |
| 2104 | 2106 | ||
| 2105 | endif # WATCHDOG | 2107 | endif # WATCHDOG |
