diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-04-11 15:39:36 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-04-12 09:44:48 +0200 |
commit | f410b31be4687746003d53568ee30854b848468e (patch) | |
tree | 35c0c50129d535bb5d46013bd3f162e402602a8c /cpukit/score/src/percpu.c | |
parent | score: Rework SMP multicast action (diff) | |
download | rtems-f410b31be4687746003d53568ee30854b848468e.tar.bz2 |
score: Improve _SMP_Multicast_action()
Let it work during system initialization.
Diffstat (limited to 'cpukit/score/src/percpu.c')
-rw-r--r-- | cpukit/score/src/percpu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/score/src/percpu.c b/cpukit/score/src/percpu.c index 0e4c0678e7..79e940005c 100644 --- a/cpukit/score/src/percpu.c +++ b/cpukit/score/src/percpu.c @@ -89,6 +89,7 @@ static void _Per_CPU_State_busy_wait( state != PER_CPU_STATE_READY_TO_START_MULTITASKING && state != PER_CPU_STATE_SHUTDOWN ) { + _Per_CPU_Perform_jobs( cpu ); _CPU_SMP_Processor_event_receive(); state = cpu->state; } @@ -99,6 +100,7 @@ static void _Per_CPU_State_busy_wait( && state != PER_CPU_STATE_SHUTDOWN ) { _Per_CPU_State_before_multitasking_action( cpu ); + _Per_CPU_Perform_jobs( cpu ); _CPU_SMP_Processor_event_receive(); state = cpu->state; } |