[PATCH] x86/APIC: mark wait_tick_pvh() __init

Jan Beulich posted 1 patch 2 years, 3 months ago
Test gitlab-ci failed
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/476e1c65-8883-16a2-996e-53d7c42638ed@suse.com
[PATCH] x86/APIC: mark wait_tick_pvh() __init
Posted by Jan Beulich 2 years, 3 months ago
It should have been that way right from its introduction by 02e0de011555
("x86: APIC timer calibration when running as a guest").

Signed-off-by: Jan Beulich <jbeulich@suse.com>

--- a/xen/arch/x86/apic.c
+++ b/xen/arch/x86/apic.c
@@ -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;


Re: [PATCH] x86/APIC: mark wait_tick_pvh() __init
Posted by Wei Liu 2 years, 3 months ago
On Mon, Jan 17, 2022 at 11:34:20AM +0100, Jan Beulich wrote:
> It should have been that way right from its introduction by 02e0de011555
> ("x86: APIC timer calibration when running as a guest").
> 
> Signed-off-by: Jan Beulich <jbeulich@suse.com>

Reviewed-by: Wei Liu <wl@xen.org>

> 
> --- a/xen/arch/x86/apic.c
> +++ b/xen/arch/x86/apic.c
> @@ -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;
>