From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751588AbdICIja (ORCPT ); Sun, 3 Sep 2017 04:39:30 -0400 Received: from mx1.polytechnique.org ([129.104.30.34]:37722 "EHLO mx1.polytechnique.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751068AbdICIj3 (ORCPT ); Sun, 3 Sep 2017 04:39:29 -0400 From: Nicolas Iooss To: Boris Ostrovsky , Juergen Gross Cc: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, Nicolas Iooss Subject: [PATCH 1/1] x86/xen: fix section of xen_init_time_ops() in header Date: Sun, 3 Sep 2017 10:38:57 +0200 Message-Id: <20170903083857.1336-1-nicolas.iooss_linux@m4x.org> X-Mailer: git-send-email 2.14.1 X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Sun Sep 3 10:39:27 2017 +0200 (CEST)) X-Spam-Flag: No, tests=bogofilter, spamicity=0.000001, queueID=426D25600B8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit d162809f85b4 ("xen/x86: Do not call xen_init_time_ops() until shared_info is initialized") moved xen_init_time_ops() from __init to __ref without updating xen-ops.h accordingly. Fix this. Fixes: d162809f85b4 ("xen/x86: Do not call xen_init_time_ops() until shared_info is initialized") Signed-off-by: Nicolas Iooss --- arch/x86/xen/xen-ops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/xen/xen-ops.h b/arch/x86/xen/xen-ops.h index 0d5004477db6..b2a5d48a2c2a 100644 --- a/arch/x86/xen/xen-ops.h +++ b/arch/x86/xen/xen-ops.h @@ -69,7 +69,7 @@ void xen_setup_runstate_info(int cpu); void xen_teardown_timer(int cpu); u64 xen_clocksource_read(void); void xen_setup_cpu_clockevents(void); -void __init xen_init_time_ops(void); +void __ref xen_init_time_ops(void); void __init xen_hvm_init_time_ops(void); irqreturn_t xen_debug_interrupt(int irq, void *dev_id); -- 2.14.1