aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaowei Bai <baiyaowei@cmss.chinamobile.com>2016-03-22 21:40:09 -0400
committerThomas Gleixner <tglx@linutronix.de>2016-03-23 07:34:17 -0400
commitf09e3f4fe42caad0c0f59c1489d2b3f512c070b5 (patch)
tree464692eb6d1f5505722e662c41a599c04e5bdbf2
parent57d335ce88d055eb212e2531dd7a8b4240404a57 (diff)
x86/apic: Remove declaration of unused hw_nmi_is_cpu_stuck
Commit 10f9014912 ("x86: Cleanup hw_nmi.c cruft") removed unused code in the hw_nmi.c file because of the redesign of the hardlockup watchdog but left declaration of hw_nmi_is_cpu_stuck in linux/nmi.h, so remvoe it. Signed-off-by: Yaowei Bai <baiyaowei@cmss.chinamobile.com> Link: http://lkml.kernel.org/r/1458697210-3027-1-git-send-email-baiyaowei@cmss.chinamobile.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--include/linux/nmi.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/nmi.h b/include/linux/nmi.h
index 7ec5b86735f3..4630eeae18e0 100644
--- a/include/linux/nmi.h
+++ b/include/linux/nmi.h
@@ -65,7 +65,6 @@ static inline bool trigger_allbutself_cpu_backtrace(void)
65#endif 65#endif
66 66
67#ifdef CONFIG_LOCKUP_DETECTOR 67#ifdef CONFIG_LOCKUP_DETECTOR
68int hw_nmi_is_cpu_stuck(struct pt_regs *);
69u64 hw_nmi_get_sample_period(int watchdog_thresh); 68u64 hw_nmi_get_sample_period(int watchdog_thresh);
70extern int nmi_watchdog_enabled; 69extern int nmi_watchdog_enabled;
71extern int soft_watchdog_enabled; 70extern int soft_watchdog_enabled;