From: Jan Beulich Date: Fri, 17 May 2019 12:38:38 +0000 (+0200) Subject: x86: patch ctxt_switch_masking() indirect call to direct one X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~2226 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0d6b9ab1c5dd34fc4a18511d8652504c35c49692;p=xen.git x86: patch ctxt_switch_masking() indirect call to direct one Signed-off-by: Jan Beulich Reviewed-by: Wei Liu Reviewed-by: Andrew Cooper --- diff --git a/xen/arch/x86/cpu/common.c b/xen/arch/x86/cpu/common.c index fa8548ecdc..43cfdc8155 100644 --- a/xen/arch/x86/cpu/common.c +++ b/xen/arch/x86/cpu/common.c @@ -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;