From: Jan Beulich Date: Wed, 15 Aug 2018 12:15:30 +0000 (+0200) Subject: x86: write to correct variable in parse_pv_l1tf() X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~3468 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=57c554f8a6e06894f601d977d18b3017d2a60f40;p=xen.git x86: write to correct variable in parse_pv_l1tf() Apparently a copy-and-paste mistake. Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper --- diff --git a/xen/arch/x86/spec_ctrl.c b/xen/arch/x86/spec_ctrl.c index f0c50d6703..c430b25b84 100644 --- a/xen/arch/x86/spec_ctrl.c +++ b/xen/arch/x86/spec_ctrl.c @@ -232,7 +232,7 @@ static __init int parse_pv_l1tf(const char *s) /* Interpret 'pv-l1tf' alone in its positive boolean form. */ if ( *s == '\0' ) - opt_xpti = OPT_PV_L1TF_DOM0 | OPT_PV_L1TF_DOMU; + opt_pv_l1tf = OPT_PV_L1TF_DOM0 | OPT_PV_L1TF_DOMU; do { ss = strchr(s, ',');