diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-18 11:49:38 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-19 08:34:26 +0100 |
commit | ff25926701a7c4e8cf0858bc8f41133e7d7dd45a (patch) | |
tree | c3ca823580022af719f01fc554407cfbda9dd3f2 /cpukit/score/src/smp.c | |
parent | posix: Use interal mutex for once implementation (diff) | |
download | rtems-ff25926701a7c4e8cf0858bc8f41133e7d7dd45a.tar.bz2 |
score: Delete _Assert_Thread_dispatching_repressed
Add _Debug_Is_thread_dispatching_allowed(). This makes it possible to
assert the opposite.
Use _ISR_Disable_without_giant()/_ISR_Enable_without_giant() to avoid
misleading secondary assertion failures.
Diffstat (limited to 'cpukit/score/src/smp.c')
-rw-r--r-- | cpukit/score/src/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/smp.c b/cpukit/score/src/smp.c index 389a4d6c99..8e57ed003f 100644 --- a/cpukit/score/src/smp.c +++ b/cpukit/score/src/smp.c @@ -100,7 +100,7 @@ void _SMP_Broadcast_message( uint32_t message ) uint32_t ncpus = _SMP_Get_processor_count(); uint32_t cpu; - _Assert_Thread_dispatching_repressed(); + _Assert( _Debug_Is_thread_dispatching_allowed() ); for ( cpu = 0 ; cpu < ncpus ; ++cpu ) { if ( cpu != self ) { |