From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751701AbdJXHSv (ORCPT ); Tue, 24 Oct 2017 03:18:51 -0400 Received: from terminus.zytor.com ([65.50.211.136]:38677 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750868AbdJXHSt (ORCPT ); Tue, 24 Oct 2017 03:18:49 -0400 Date: Tue, 24 Oct 2017 00:16:08 -0700 From: "tip-bot for mike.travis@hpe.com" Message-ID: Cc: prarit@redhat.com, russ.anderson@hpe.com, peterz@infradead.org, andrew.banman@hpe.com, mingo@kernel.org, hpa@zytor.com, tglx@linutronix.de, linux-kernel@vger.kernel.org, dimitri.sivanich@hpe.com, mike.travis@hpe.com, bin.gao@linux.intel.com Reply-To: prarit@redhat.com, russ.anderson@hpe.com, peterz@infradead.org, andrew.banman@hpe.com, mingo@kernel.org, hpa@zytor.com, tglx@linutronix.de, linux-kernel@vger.kernel.org, dimitri.sivanich@hpe.com, bin.gao@linux.intel.com, mike.travis@hpe.com In-Reply-To: <20171023191841.985614692@stormcage.americas.sgi.com> References: <20171023191841.985614692@stormcage.americas.sgi.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/timers] x86/platform/UV: Mark tsc_check_sync as an init function Git-Commit-ID: b3270a5210229ee543339d34b74ba527f978c55b 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 Commit-ID: b3270a5210229ee543339d34b74ba527f978c55b Gitweb: https://git.kernel.org/tip/b3270a5210229ee543339d34b74ba527f978c55b Author: mike.travis@hpe.com AuthorDate: Mon, 23 Oct 2017 14:18:42 -0500 Committer: Thomas Gleixner CommitDate: Tue, 24 Oct 2017 09:10:51 +0200 x86/platform/UV: Mark tsc_check_sync as an init function Fix build problem: >> WARNING: vmlinux.o(.text+0x4223a): Section mismatch in reference from the function uv_tsc_check_sync() to the function .init.text:uv_early_read_mmr() The function uv_tsc_check_sync() references the function __init uv_early_read_mmr(). This is often because uv_tsc_check_sync lacks a __init Signed-off-by: Mike Travis Signed-off-by: Thomas Gleixner Cc: Prarit Bhargava Cc: Dimitri Sivanich Cc: Russ Anderson Cc: Andrew Banman Cc: Peter Zijlstra Cc: Bin Gao Link: https://lkml.kernel.org/r/20171023191841.985614692@stormcage.americas.sgi.com --- arch/x86/kernel/apic/x2apic_uv_x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/apic/x2apic_uv_x.c b/arch/x86/kernel/apic/x2apic_uv_x.c index 4408254..5eda48a 100644 --- a/arch/x86/kernel/apic/x2apic_uv_x.c +++ b/arch/x86/kernel/apic/x2apic_uv_x.c @@ -154,7 +154,7 @@ static int __init early_get_pnodeid(void) return pnode; } -static void uv_tsc_check_sync(void) +static void __init uv_tsc_check_sync(void) { u64 mmr; int sync_state;