diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2010-08-08 19:49:58 -0400 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2010-08-08 20:14:15 -0400 |
commit | d9a145fb6e5f37b9903dea8371ab5c3e34e8e2d1 (patch) | |
tree | e2b4bb46fa00f0ad20447e40dba6fb21a4ae0815 /include/linux/nmi.h | |
parent | c9243f5bdd6637b2bb7dc254b54d9edf957ef17e (diff) | |
parent | 45d7f32c7a43cbb9592886d38190e379e2eb2226 (diff) |
Merge commit 'linus/master' into bkl/core
Merge reason: The staging tree has introduced the easycap
driver lately. We need the latest updates to pushdown the
bkl in its ioctl helper.
Diffstat (limited to 'include/linux/nmi.h')
-rw-r--r-- | include/linux/nmi.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/nmi.h b/include/linux/nmi.h index b752e807adde..06aab5eee134 100644 --- a/include/linux/nmi.h +++ b/include/linux/nmi.h | |||
@@ -20,10 +20,14 @@ extern void touch_nmi_watchdog(void); | |||
20 | extern void acpi_nmi_disable(void); | 20 | extern void acpi_nmi_disable(void); |
21 | extern void acpi_nmi_enable(void); | 21 | extern void acpi_nmi_enable(void); |
22 | #else | 22 | #else |
23 | #ifndef CONFIG_HARDLOCKUP_DETECTOR | ||
23 | static inline void touch_nmi_watchdog(void) | 24 | static inline void touch_nmi_watchdog(void) |
24 | { | 25 | { |
25 | touch_softlockup_watchdog(); | 26 | touch_softlockup_watchdog(); |
26 | } | 27 | } |
28 | #else | ||
29 | extern void touch_nmi_watchdog(void); | ||
30 | #endif | ||
27 | static inline void acpi_nmi_disable(void) { } | 31 | static inline void acpi_nmi_disable(void) { } |
28 | static inline void acpi_nmi_enable(void) { } | 32 | static inline void acpi_nmi_enable(void) { } |
29 | #endif | 33 | #endif |
@@ -47,4 +51,13 @@ static inline bool trigger_all_cpu_backtrace(void) | |||
47 | } | 51 | } |
48 | #endif | 52 | #endif |
49 | 53 | ||
54 | #ifdef CONFIG_LOCKUP_DETECTOR | ||
55 | int hw_nmi_is_cpu_stuck(struct pt_regs *); | ||
56 | u64 hw_nmi_get_sample_period(void); | ||
57 | extern int watchdog_enabled; | ||
58 | struct ctl_table; | ||
59 | extern int proc_dowatchdog_enabled(struct ctl_table *, int , | ||
60 | void __user *, size_t *, loff_t *); | ||
61 | #endif | ||
62 | |||
50 | #endif | 63 | #endif |