Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753702AbcCWBvn (ORCPT ); Tue, 22 Mar 2016 21:51:43 -0400 Received: from cmccmta1.chinamobile.com ([221.176.66.79]:4524 "EHLO cmccmta1.chinamobile.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753236AbcCWBvg (ORCPT ); Tue, 22 Mar 2016 21:51:36 -0400 X-Greylist: delayed 545 seconds by postgrey-1.27 at vger.kernel.org; Tue, 22 Mar 2016 21:51:35 EDT X-RM-TRANSID: 2ee456f1f4812a3-9e59f X-RM-SPAM-FLAG: 00000000 X-RM-TRANSID: 2ee356f1f4825e6-ac828 From: Yaowei Bai To: tglx@linutronix.de, mingo@kernel.org, hpa@zytor.com Cc: x86@kernel.org, linux-kernel@vger.kernel.org, baiyaowei@cmss.chinamobile.com Subject: [PATCH 1/2] x86/apic: remove declaration of unused hw_nmi_is_cpu_stuck Date: Wed, 23 Mar 2016 09:40:09 +0800 Message-Id: <1458697210-3027-1-git-send-email-baiyaowei@cmss.chinamobile.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 770 Lines: 26 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 --- 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