Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753030AbdLXCu2 (ORCPT ); Sat, 23 Dec 2017 21:50:28 -0500 Received: from mail-ua0-f196.google.com ([209.85.217.196]:43729 "EHLO mail-ua0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750752AbdLXCu0 (ORCPT ); Sat, 23 Dec 2017 21:50:26 -0500 X-Google-Smtp-Source: ACJfBotEygsQ3PVWN28byc+IkgsQbNf23hWGfD5xp75HgEbgoebZeiEqsLFDArzLDiyPrN0UjnkObQ== From: Nick Desaulniers Cc: Nick Desaulniers , Boris Ostrovsky , Juergen Gross , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org Subject: [PATCH] x86/xen/time: fix section mismatch for xen_init_time_ops() Date: Sat, 23 Dec 2017 21:50:13 -0500 Message-Id: <1514083813-27047-1-git-send-email-nick.desaulniers@gmail.com> X-Mailer: git-send-email 2.7.4 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 727 Lines: 23 The header declares this function as __init but is defined in __ref section. Signed-off-by: Nick Desaulniers --- 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 75011b8..3b34745 100644 --- a/arch/x86/xen/xen-ops.h +++ b/arch/x86/xen/xen-ops.h @@ -72,7 +72,7 @@ u64 xen_clocksource_read(void); void xen_setup_cpu_clockevents(void); void xen_save_time_memory_area(void); void xen_restore_time_memory_area(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.7.4