This is a follow of commit
90f2e2a307fc6a6258c39cc87b3b2bf9441c0fa7 "use
masking operation instead of test_bit for MCSF bits" where the ARM
changes were missing.
Signed-off-by: Julien Grall <julien.grall@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
struct cpu_user_regs *regs = guest_cpu_user_regs();
struct mc_state *mcs = ¤t->mc_state;
- if ( test_bit(_MCSF_in_multicall, &mcs->flags) )
+ if ( mcs->flags & MCSF_in_multicall )
{
__clear_bit(_MCSF_call_preempted, &mcs->flags);
}
va_start(args, format);
- if ( test_bit(_MCSF_in_multicall, &mcs->flags) )
+ if ( mcs->flags & MCSF_in_multicall )
{
__set_bit(_MCSF_call_preempted, &mcs->flags);