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


Groups > linux.kernel > #1363162 > unrolled thread

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

Started byYaowei Bai <baiyaowei@cmss.chinamobile.com>
First post2016-03-23 03:00 +0100
Last post2016-03-23 12:50 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [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

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

FromYaowei Bai <baiyaowei@cmss.chinamobile.com>
Date2016-03-23 03:00 +0100
Subject[PATCH 1/2] x86/apic: remove declaration of unused hw_nmi_is_cpu_stuck
Message-ID<rfG5Q-4yd-7@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1363368 — [tip:x86/urgent] x86/apic: Remove declaration of unused hw_nmi_is_cpu_stuck

Fromtip-bot for Yaowei Bai <tipbot@zytor.com>
Date2016-03-23 12:50 +0100
Subject[tip:x86/urgent] x86/apic: Remove declaration of unused hw_nmi_is_cpu_stuck
Message-ID<rfPsu-2Nq-5@gated-at.bofh.it>
In reply to#1363162
Commit-ID:  f09e3f4fe42caad0c0f59c1489d2b3f512c070b5
Gitweb:     http://git.kernel.org/tip/f09e3f4fe42caad0c0f59c1489d2b3f512c070b5
Author:     Yaowei Bai <baiyaowei@cmss.chinamobile.com>
AuthorDate: Wed, 23 Mar 2016 09:40:09 +0800
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Wed, 23 Mar 2016 12:34:17 +0100

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>

---
 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;

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web