diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-02-17 10:00:43 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-02-17 13:42:53 +0100 |
commit | 8d6e6eebedc1b70d8ae6c1dac13393b9e9c1a3b1 (patch) | |
tree | 3dc2d588f6bf8e0ea9c2725692e54f19f91f965a /rtems-bsps | |
parent | score: Add _CPU_SMP_Prepare_start_multitasking() (diff) | |
download | rtems-8d6e6eebedc1b70d8ae6c1dac13393b9e9c1a3b1.tar.bz2 |
score: Fix FP context restore via _Thread_Handler
After a context switch we end up in the second part of
_Thread_Dispatch() or in _Thread_Handler() in case of new threads. Use
the same function _Thread_Restore_fp() to restore the floating-point
context. It makes no sense to do this in _Thread_Start_multitasking().
This fixes also a race condition in SMP configurations.
Update #2268.
Diffstat (limited to 'rtems-bsps')
0 files changed, 0 insertions, 0 deletions