summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-30 13:51:51 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-02-06 07:46:32 +0100
commit1875efc83b33407f6f798ef24dfaef90f6e77672 (patch)
treea9044f111de11878d99ef60b603e10dfd35970bd
parent4c8fc44c44b97854623c56363c359f711fc0b887 (diff)
downloadlinux-stable-1875efc83b33407f6f798ef24dfaef90f6e77672.tar.gz
linux-stable-1875efc83b33407f6f798ef24dfaef90f6e77672.tar.bz2
linux-stable-1875efc83b33407f6f798ef24dfaef90f6e77672.zip
xen: Fix up build warning with xen_init_time_ops() reference
Somehow the xen_init_time_ops() reference got out of sync in the 4.14.y tree (or it never was in sync), and now there's a build warning. Fix that up by making xen_init_time_ops() be __init, not __ref. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--arch/x86/xen/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/time.c b/arch/x86/xen/time.c
index 03706331f567..8ecc38110bcc 100644
--- a/arch/x86/xen/time.c
+++ b/arch/x86/xen/time.c
@@ -516,7 +516,7 @@ static void __init xen_time_init(void)
pvclock_gtod_register_notifier(&xen_pvclock_gtod_notifier);
}
-void __ref xen_init_time_ops(void)
+void __init xen_init_time_ops(void)
{
xen_sched_clock_offset = xen_clocksource_read();
pv_time_ops = xen_time_ops;