[rtems commit] smp: Use _CPU_Fatal_halt()
Sebastian Huber
sebh at rtems.org
Wed May 29 09:04:03 UTC 2013
Module: rtems
Branch: master
Commit: 3148438e1eb63a7fb7586769efef47c8c41d8b11
Changeset: http://git.rtems.org/rtems/commit/?id=3148438e1eb63a7fb7586769efef47c8c41d8b11
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue May 21 17:11:38 2013 +0200
smp: Use _CPU_Fatal_halt()
---
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 */
}
}
More information about the vc
mailing list