diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-i386/nmi.h | 1 | ||||
-rw-r--r-- | include/asm-x86_64/nmi.h | 1 | ||||
-rw-r--r-- | include/linux/sysctl.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-i386/nmi.h b/include/asm-i386/nmi.h index 34d6bf063b6e..13b5d8311bf7 100644 --- a/include/asm-i386/nmi.h +++ b/include/asm-i386/nmi.h | |||
@@ -14,6 +14,7 @@ | |||
14 | */ | 14 | */ |
15 | int do_nmi_callback(struct pt_regs *regs, int cpu); | 15 | int do_nmi_callback(struct pt_regs *regs, int cpu); |
16 | 16 | ||
17 | extern int nmi_watchdog_enabled; | ||
17 | extern int avail_to_resrv_perfctr_nmi_bit(unsigned int); | 18 | extern int avail_to_resrv_perfctr_nmi_bit(unsigned int); |
18 | extern int avail_to_resrv_perfctr_nmi(unsigned int); | 19 | extern int avail_to_resrv_perfctr_nmi(unsigned int); |
19 | extern int reserve_perfctr_nmi(unsigned int); | 20 | extern int reserve_perfctr_nmi(unsigned int); |
diff --git a/include/asm-x86_64/nmi.h b/include/asm-x86_64/nmi.h index 8818c39d34e0..2c23b0df87d2 100644 --- a/include/asm-x86_64/nmi.h +++ b/include/asm-x86_64/nmi.h | |||
@@ -43,6 +43,7 @@ extern void die_nmi(char *str, struct pt_regs *regs); | |||
43 | 43 | ||
44 | extern int panic_on_timeout; | 44 | extern int panic_on_timeout; |
45 | extern int unknown_nmi_panic; | 45 | extern int unknown_nmi_panic; |
46 | extern int nmi_watchdog_enabled; | ||
46 | 47 | ||
47 | extern int check_nmi_watchdog(void); | 48 | extern int check_nmi_watchdog(void); |
48 | extern int avail_to_resrv_perfctr_nmi_bit(unsigned int); | 49 | extern int avail_to_resrv_perfctr_nmi_bit(unsigned int); |
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index 736ed917a4f8..ecb79ba52ae1 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h | |||
@@ -150,6 +150,7 @@ enum | |||
150 | KERN_IA64_UNALIGNED=72, /* int: ia64 unaligned userland trap enable */ | 150 | KERN_IA64_UNALIGNED=72, /* int: ia64 unaligned userland trap enable */ |
151 | KERN_COMPAT_LOG=73, /* int: print compat layer messages */ | 151 | KERN_COMPAT_LOG=73, /* int: print compat layer messages */ |
152 | KERN_MAX_LOCK_DEPTH=74, | 152 | KERN_MAX_LOCK_DEPTH=74, |
153 | KERN_NMI_WATCHDOG=75, /* int: enable/disable nmi watchdog */ | ||
153 | }; | 154 | }; |
154 | 155 | ||
155 | 156 | ||