mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
xen/arm: use masking operation instead of test_bit for MCSF bits
This is a follow of commit 90f2e2a307 "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>
This commit is contained in:
1 parent
bb4b673ace
commit
01884154ce
1 file changed
+2
-2
@@ -327,7 +327,7 @@ void hypercall_cancel_continuation(void)
|
||||
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);
|
||||
}
|
||||
@@ -352,7 +352,7 @@ unsigned long hypercall_create_continuation(
|
||||
|
||||
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);
|
||||
|
||||
|
||||