]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.14-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Jan 2023 12:56:39 +0000 (13:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Jan 2023 12:56:39 +0000 (13:56 +0100)
added patches:
xen-fix-up-build-warning-with-xen_init_time_ops-reference.patch

queue-4.14/series
queue-4.14/xen-fix-up-build-warning-with-xen_init_time_ops-reference.patch [new file with mode: 0644]

index 2776f6e47030ec1d555cb95b7dfaab7eb53b585b..dbcc983004b0e68854678af563039bb00cd49e57 100644 (file)
@@ -38,3 +38,4 @@ net-tg3-resolve-deadlock-in-tg3_reset_task-during-ee.patch
 revert-input-synaptics-switch-touchpad-on-hp-laptop-15-da3001tu-to-rmi-mode.patch
 x86-i8259-mark-legacy-pic-interrupts-with-irq_level.patch
 wifi-brcmfmac-fix-up-incorrect-4.14.y-backport-for-brcmf_fw_map_chip_to_name.patch
+xen-fix-up-build-warning-with-xen_init_time_ops-reference.patch
diff --git a/queue-4.14/xen-fix-up-build-warning-with-xen_init_time_ops-reference.patch b/queue-4.14/xen-fix-up-build-warning-with-xen_init_time_ops-reference.patch
new file mode 100644 (file)
index 0000000..53bd685
--- /dev/null
@@ -0,0 +1,32 @@
+From 5f9dc72c3a1b1c79e226263d61bcf25326d4e37f Mon Sep 17 00:00:00 2001
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Date: Mon, 30 Jan 2023 13:51:51 +0100
+Subject: xen: Fix up build warning with xen_init_time_ops() reference
+
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+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>
+---
+ arch/x86/xen/time.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+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;
+-- 
+2.39.1
+