diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-01-08 09:53:26 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-01-09 10:35:33 +0100 |
commit | 3bd3999936cfa8a77a545e513669e61877f9ccb6 (patch) | |
tree | fedf8ff5eb9a41a659f856b88df92e60fc65986a /cpukit/score/src/threaddispatch.c | |
parent | rtems: Allow to set ISR level 0 in SMP config (diff) | |
download | rtems-3bd3999936cfa8a77a545e513669e61877f9ccb6.tar.bz2 |
Adjust interrupt mode tests for some CPU ports
In case the robust thread dispatch is enabled by the CPU port, then the
interrupt level must not be changed through the task mode.
Update #3000.
Diffstat (limited to 'cpukit/score/src/threaddispatch.c')
-rw-r--r-- | cpukit/score/src/threaddispatch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/threaddispatch.c b/cpukit/score/src/threaddispatch.c index b82fe539c1..fc6a172080 100644 --- a/cpukit/score/src/threaddispatch.c +++ b/cpukit/score/src/threaddispatch.c @@ -261,7 +261,7 @@ void _Thread_Do_dispatch( Per_CPU_Control *cpu_self, ISR_Level level ) #if defined(RTEMS_SCORE_ROBUST_THREAD_DISPATCH) if ( !_ISR_Is_enabled( level ) -#if defined(RTEMS_SMP) +#if defined(RTEMS_SMP) && CPU_ENABLE_ROBUST_THREAD_DISPATCH == FALSE && rtems_configuration_is_smp_enabled() #endif ) { |