From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752157AbdINKs2 (ORCPT ); Thu, 14 Sep 2017 06:48:28 -0400 Received: from terminus.zytor.com ([65.50.211.136]:42213 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751602AbdINKsZ (ORCPT ); Thu, 14 Sep 2017 06:48:25 -0400 Date: Thu, 14 Sep 2017 03:42:45 -0700 From: tip-bot for Thomas Gleixner Message-ID: Cc: dzickus@redhat.com, cmetcalf@mellanox.com, peterz@infradead.org, linux-kernel@vger.kernel.org, uobergfe@redhat.com, npiggin@gmail.com, hpa@zytor.com, torvalds@linux-foundation.org, tglx@linutronix.de, bp@alien8.de, akpm@linux-foundation.org, mingo@kernel.org, bigeasy@linutronix.de Reply-To: bigeasy@linutronix.de, mingo@kernel.org, akpm@linux-foundation.org, tglx@linutronix.de, bp@alien8.de, torvalds@linux-foundation.org, hpa@zytor.com, npiggin@gmail.com, uobergfe@redhat.com, linux-kernel@vger.kernel.org, peterz@infradead.org, cmetcalf@mellanox.com, dzickus@redhat.com In-Reply-To: <20170912194146.727134632@linutronix.de> References: <20170912194146.727134632@linutronix.de> To: linux-tip-commits@vger.kernel.org Subject: [tip:core/urgent] watchdog/core: Mark hardlockup_detector_disable() __init Git-Commit-ID: 7a3558200739e1378800a7a6d7f63c031115f7a4 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Archived-At: List-Archive: List-Post: Commit-ID: 7a3558200739e1378800a7a6d7f63c031115f7a4 Gitweb: http://git.kernel.org/tip/7a3558200739e1378800a7a6d7f63c031115f7a4 Author: Thomas Gleixner AuthorDate: Tue, 12 Sep 2017 21:37:02 +0200 Committer: Ingo Molnar CommitDate: Thu, 14 Sep 2017 11:41:04 +0200 watchdog/core: Mark hardlockup_detector_disable() __init The function is only used by the KVM init code. Mark it __init to prevent creative abuse. Signed-off-by: Thomas Gleixner Reviewed-by: Don Zickus Cc: Andrew Morton Cc: Borislav Petkov Cc: Chris Metcalf Cc: Linus Torvalds Cc: Nicholas Piggin Cc: Peter Zijlstra Cc: Sebastian Siewior Cc: Ulrich Obergfell Link: http://lkml.kernel.org/r/20170912194146.727134632@linutronix.de Signed-off-by: Ingo Molnar --- kernel/watchdog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/watchdog.c b/kernel/watchdog.c index 7c3a0a7..1c185d9 100644 --- a/kernel/watchdog.c +++ b/kernel/watchdog.c @@ -55,7 +55,7 @@ unsigned int __read_mostly hardlockup_panic = * kernel command line parameters are parsed, because otherwise it is not * possible to override this in hardlockup_panic_setup(). */ -void hardlockup_detector_disable(void) +void __init hardlockup_detector_disable(void) { watchdog_enabled &= ~NMI_WATCHDOG_ENABLED; }