diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-17 16:03:46 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-20 07:50:37 +0200 |
commit | ceb0f6597c36fabbfcbdf0807fd87dd03a45cc5e (patch) | |
tree | 9870a0bcc83d45085fc8fb5cd1c9068c4b7256c4 /cpukit/score/src/smp.c | |
parent | score: Rename _ISR_Flash() into _ISR_Local_flash() (diff) | |
download | rtems-ceb0f6597c36fabbfcbdf0807fd87dd03a45cc5e.tar.bz2 |
score: Remove the Giant lock
Update #2555.
Diffstat (limited to 'cpukit/score/src/smp.c')
-rw-r--r-- | cpukit/score/src/smp.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/cpukit/score/src/smp.c b/cpukit/score/src/smp.c index 85256b044c..e26de42e68 100644 --- a/cpukit/score/src/smp.c +++ b/cpukit/score/src/smp.c @@ -21,7 +21,6 @@ #include <rtems/score/smpimpl.h> #include <rtems/score/assert.h> #include <rtems/score/schedulerimpl.h> -#include <rtems/score/threaddispatch.h> #include <rtems/score/threadimpl.h> #include <rtems/config.h> @@ -162,14 +161,6 @@ void _SMP_Request_shutdown( void ) Per_CPU_Control *self_cpu = _Per_CPU_Get(); _Per_CPU_State_change( self_cpu, PER_CPU_STATE_SHUTDOWN ); - - /* - * We have to drop the Giant lock here in order to give other processors the - * opportunity to receive the inter-processor interrupts issued previously. - * In case the executing thread still holds SMP locks, then other processors - * already waiting for this SMP lock will spin forever. - */ - _Giant_Drop( self_cpu ); } void _SMP_Send_message( uint32_t cpu_index, unsigned long message ) |