Skip to contentSkip to conversation

x86/APIC: mark wait_tick_pvh() __init

PATCH In review Jan Beulich 2 participants 2 messages Jan 17, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/APIC: mark wait_tick_pvh() __init

It should have been that way right from its introduction by 02e0de011555 ("x86: APIC timer calibration when running as a guest").

xen/arch/x86/apic.c +1 -1
@@ -1190,7 +1190,7 @@ static void __init check_deadline_errata
            "please update microcode to version %#x (or later)\n", rev);
 }
 
-static void wait_tick_pvh(void)
+static void __init wait_tick_pvh(void)
 {
     u64 lapse_ns = 1000000000ULL / HZ;
     s_time_t start, curr_time;
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Jan Beulich

It should have been that way right from its introduction by 02e0de011555 ("x86: APIC timer calibration when running as a guest").

Quoted 13 lines
xen/arch/x86/apic.c +1 -1
@@ -1190,7 +1190,7 @@ static void __init check_deadline_errata
            "please update microcode to version %#x (or later)\n", rev);
 }
 
-static void wait_tick_pvh(void)
+static void __init wait_tick_pvh(void)
 {
     u64 lapse_ns = 1000000000ULL / HZ;
     s_time_t start, curr_time;