]> xenbits.xensource.com Git - people/sstabellini/xen-unstable.git/.git/commitdiff
x86: patch ctxt_switch_masking() indirect call to direct one
authorJan Beulich <jbeulich@suse.com>
Fri, 17 May 2019 12:38:38 +0000 (14:38 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 17 May 2019 12:38:38 +0000 (14:38 +0200)
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/cpu/common.c

index fa8548ecdc9981008a5509e76757cf872ce9a8db..43cfdc81557b609af3d6cc34dea262e749ea930d 100644 (file)
@@ -182,7 +182,7 @@ void ctxt_switch_levelling(const struct vcpu *next)
        }
 
        if (ctxt_switch_masking)
-               ctxt_switch_masking(next);
+               alternative_vcall(ctxt_switch_masking, next);
 }
 
 bool_t opt_cpu_info;