[PATCH 10/11] smp: Use _CPU_Fatal_halt()

Sebastian Huber sebastian.huber at embedded-brains.de
Mon May 27 10:58:15 UTC 2013


---
 cpukit/score/src/smp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpukit/score/src/smp.c b/cpukit/score/src/smp.c
index aee1c45..69f5337 100644
--- a/cpukit/score/src/smp.c
+++ b/cpukit/score/src/smp.c
@@ -99,8 +99,8 @@ void rtems_smp_process_interrupt( void )
     }
 
     _Per_CPU_Change_state( per_cpu, PER_CPU_STATE_SHUTDOWN );
-    while(1)
-      ;
+
+    _CPU_Fatal_halt( self );
     /* does not continue past here */
   }
 }
-- 
1.7.7




More information about the devel mailing list