summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxfatal_support
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2011-08-18 07:47:38 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2011-08-18 07:47:38 +0000
commitb7ee9ab91379c6698e1235a961e5e034fb9c497e (patch)
tree6f18d18b09911590901aebc2240244e734fdbbc0 /testsuites/psxtests/psxfatal_support
parent2011-08-18 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff)
downloadrtems-b7ee9ab91379c6698e1235a961e5e034fb9c497e.tar.bz2
2011-08-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
* psxfatal_support/init.c: Ensure that _Thread_BSP_context is initialized.
Diffstat (limited to 'testsuites/psxtests/psxfatal_support')
-rw-r--r--testsuites/psxtests/psxfatal_support/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxfatal_support/init.c b/testsuites/psxtests/psxfatal_support/init.c
index a81a280990..d759d99189 100644
--- a/testsuites/psxtests/psxfatal_support/init.c
+++ b/testsuites/psxtests/psxfatal_support/init.c
@@ -149,6 +149,7 @@ void Fatal_extension(
printk( "*** END OF TEST ***\n" );
}
- _Thread_Stop_multitasking();
+ if ( _System_state_Is_up( _System_state_Get() ) )
+ _Thread_Stop_multitasking();
}