diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/watchdog.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/watchdog.h b/include/linux/watchdog.h index 88ba0d29f8c8..1192ed8f4fe8 100644 --- a/include/linux/watchdog.h +++ b/include/linux/watchdog.h | |||
@@ -47,4 +47,14 @@ struct watchdog_info { | |||
47 | #define WDIOS_ENABLECARD 0x0002 /* Turn on the watchdog timer */ | 47 | #define WDIOS_ENABLECARD 0x0002 /* Turn on the watchdog timer */ |
48 | #define WDIOS_TEMPPANIC 0x0004 /* Kernel panic on temperature trip */ | 48 | #define WDIOS_TEMPPANIC 0x0004 /* Kernel panic on temperature trip */ |
49 | 49 | ||
50 | #ifdef __KERNEL__ | ||
51 | |||
52 | #ifdef CONFIG_WATCHDOG_NOWAYOUT | ||
53 | #define WATCHDOG_NOWAYOUT 1 | ||
54 | #else | ||
55 | #define WATCHDOG_NOWAYOUT 0 | ||
56 | #endif | ||
57 | |||
58 | #endif /* __KERNEL__ */ | ||
59 | |||
50 | #endif /* ifndef _LINUX_WATCHDOG_H */ | 60 | #endif /* ifndef _LINUX_WATCHDOG_H */ |