Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1363162

[PATCH 1/2] x86/apic: remove declaration of unused hw_nmi_is_cpu_stuck

From Yaowei Bai <baiyaowei@cmss.chinamobile.com>
Newsgroups linux.kernel
Subject [PATCH 1/2] x86/apic: remove declaration of unused hw_nmi_is_cpu_stuck
Date 2016-03-23 03:00 +0100
Message-ID <rfG5Q-4yd-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
 include/linux/nmi.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/nmi.h b/include/linux/nmi.h
index 7ec5b86..4630eea 100644
--- a/include/linux/nmi.h
+++ b/include/linux/nmi.h
@@ -65,7 +65,6 @@ static inline bool trigger_allbutself_cpu_backtrace(void)
 #endif
 
 #ifdef CONFIG_LOCKUP_DETECTOR
-int hw_nmi_is_cpu_stuck(struct pt_regs *);
 u64 hw_nmi_get_sample_period(int watchdog_thresh);
 extern int nmi_watchdog_enabled;
 extern int soft_watchdog_enabled;
-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] x86/apic: remove declaration of unused hw_nmi_is_cpu_stuck Yaowei Bai <baiyaowei@cmss.chinamobile.com> - 2016-03-23 03:00 +0100
  [tip:x86/urgent] x86/apic: Remove declaration of unused  hw_nmi_is_cpu_stuck tip-bot for Yaowei Bai <tipbot@zytor.com> - 2016-03-23 12:50 +0100

csiph-web