summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/smp.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-17 16:03:46 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-20 07:50:37 +0200
commitceb0f6597c36fabbfcbdf0807fd87dd03a45cc5e (patch)
tree9870a0bcc83d45085fc8fb5cd1c9068c4b7256c4 /cpukit/score/src/smp.c
parentscore: Rename _ISR_Flash() into _ISR_Local_flash() (diff)
downloadrtems-ceb0f6597c36fabbfcbdf0807fd87dd03a45cc5e.tar.bz2
score: Remove the Giant lock
Update #2555.
Diffstat (limited to '')
-rw-r--r--cpukit/score/src/smp.c9
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 )