We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0560204 commit f68aa10Copy full SHA for f68aa10
arch/x86/xen/enlighten_pv.c
@@ -1214,6 +1214,11 @@ static void __init xen_dom0_set_legacy_features(void)
1214
x86_platform.legacy.rtc = 1;
1215
}
1216
1217
+static void __init xen_domu_set_legacy_features(void)
1218
+{
1219
+ x86_platform.legacy.rtc = 0;
1220
+}
1221
+
1222
/* First C function to be called on Xen boot */
1223
asmlinkage __visible void __init xen_start_kernel(void)
1224
{
@@ -1359,6 +1364,8 @@ asmlinkage __visible void __init xen_start_kernel(void)
1359
1364
add_preferred_console("xenboot", 0, NULL);
1360
1365
if (pci_xen)
1361
1366
x86_init.pci.arch_init = pci_xen_init;
1367
+ x86_platform.set_legacy_features =
1368
+ xen_domu_set_legacy_features;
1362
1369
} else {
1363
1370
const struct dom0_vga_console_info *info =
1371
(void *)((char *)xen_start_info +
0 commit comments