summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpmulticast01
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testsuites/smptests/smpmulticast01/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuites/smptests/smpmulticast01/init.c b/testsuites/smptests/smpmulticast01/init.c
index 2319582ab6..e599a78bde 100644
--- a/testsuites/smptests/smpmulticast01/init.c
+++ b/testsuites/smptests/smpmulticast01/init.c
@@ -59,11 +59,14 @@ static void multicast_action_irq_disabled(
void *arg
)
{
+ Per_CPU_Control *cpu_self;
rtems_interrupt_level level;
+ cpu_self = _Thread_Dispatch_disable();
rtems_interrupt_local_disable(level);
_SMP_Multicast_action(targets, handler, arg);
rtems_interrupt_local_enable(level);
+ _Thread_Dispatch_enable(cpu_self);
}
static void multicast_action_dispatch_disabled(