Fixes: cf7fe8b72dea ("x86/ucode: Fix stability of the raw CPU Policy rescan")
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
* Disable CPUID masking if in use, to avoid having current's
* cpu_policy affect the rescan.
*/
- if ( ctxt_switch_masking )
+ if ( ctxt_switch_masking )
alternative_vcall(ctxt_switch_masking, NULL);
calculate_raw_cpu_policy();
- if ( ctxt_switch_masking )
+ if ( ctxt_switch_masking )
alternative_vcall(ctxt_switch_masking, current);
}
else