File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1576,6 +1576,11 @@ static int xen_cpuhp_setup(void)
1576
1576
return rc >= 0 ? 0 : rc ;
1577
1577
}
1578
1578
1579
+ static void __init xen_domu_set_legacy_features (void )
1580
+ {
1581
+ x86_platform .legacy .rtc = 0 ;
1582
+ }
1583
+
1579
1584
/* First C function to be called on Xen boot */
1580
1585
asmlinkage __visible void __init xen_start_kernel (void )
1581
1586
{
@@ -1741,6 +1746,8 @@ asmlinkage __visible void __init xen_start_kernel(void)
1741
1746
add_preferred_console ("hvc" , 0 , NULL );
1742
1747
if (pci_xen )
1743
1748
x86_init .pci .arch_init = pci_xen_init ;
1749
+ x86_platform .set_legacy_features =
1750
+ xen_domu_set_legacy_features ;
1744
1751
} else {
1745
1752
const struct dom0_vga_console_info * info =
1746
1753
(void * )((char * )xen_start_info +
You can’t perform that action at this time.
0 commit comments