Blame view
include/linux/nmi.h
1.28 KB
1da177e4c Linux-2.6.12-rc2 |
1 2 3 4 5 |
/* * linux/include/linux/nmi.h */ #ifndef LINUX_NMI_H #define LINUX_NMI_H |
9938406ab [PATCH] Make touc... |
6 |
#include <linux/sched.h> |
1da177e4c Linux-2.6.12-rc2 |
7 8 9 10 11 12 13 14 15 |
#include <asm/irq.h> /** * touch_nmi_watchdog - restart NMI watchdog timeout. * * If the architecture supports the NMI watchdog, touch_nmi_watchdog() * may be used to reset the timeout - for code which intentionally * disables interrupts for a long time. This call is stateless. */ |
4a7863cc2 x86, nmi_watchdog... |
16 |
#if defined(ARCH_HAS_NMI_WATCHDOG) || defined(CONFIG_HARDLOCKUP_DETECTOR) |
bb81a09e5 [PATCH] x86: all ... |
17 |
#include <asm/nmi.h> |
96a84c20d lockup detector: ... |
18 19 |
extern void touch_nmi_watchdog(void); #else |
5d0e600d9 [PATCH] x86: fix ... |
20 21 22 23 |
static inline void touch_nmi_watchdog(void) { touch_softlockup_watchdog(); } |
96a84c20d lockup detector: ... |
24 |
#endif |
1da177e4c Linux-2.6.12-rc2 |
25 |
|
47cab6a72 debug lockups: Im... |
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
/* * Create trigger_all_cpu_backtrace() out of the arch-provided * base function. Return whether such support was available, * to allow calling code to fall back to some other mechanism: */ #ifdef arch_trigger_all_cpu_backtrace static inline bool trigger_all_cpu_backtrace(void) { arch_trigger_all_cpu_backtrace(); return true; } #else static inline bool trigger_all_cpu_backtrace(void) { return false; } |
bb81a09e5 [PATCH] x86: all ... |
43 |
#endif |
58687acba lockup_detector: ... |
44 |
#ifdef CONFIG_LOCKUP_DETECTOR |
84e478c6f nmi_watchdog: Con... |
45 |
int hw_nmi_is_cpu_stuck(struct pt_regs *); |
504d7cf10 nmi_watchdog: Com... |
46 |
u64 hw_nmi_get_sample_period(void); |
58687acba lockup_detector: ... |
47 |
extern int watchdog_enabled; |
504d7cf10 nmi_watchdog: Com... |
48 |
struct ctl_table; |
58687acba lockup_detector: ... |
49 |
extern int proc_dowatchdog_enabled(struct ctl_table *, int , |
47195d576 nmi_watchdog: Cle... |
50 |
void __user *, size_t *, loff_t *); |
84e478c6f nmi_watchdog: Con... |
51 |
#endif |
1da177e4c Linux-2.6.12-rc2 |
52 |
#endif |