forked from Imagelibrary/rtems
Revert "tmtests/tm26: Avoid NULL pointer access"
There is no NULL pointer access. Please note that
_Thread_Get_executing() != executing variable in Low_task().
This reverts commit 5611839a7e.
This commit is contained in:
@@ -439,6 +439,9 @@ rtems_task Low_task(
|
|||||||
thread_disable_dispatch();
|
thread_disable_dispatch();
|
||||||
|
|
||||||
benchmark_timer_initialize();
|
benchmark_timer_initialize();
|
||||||
|
#if (CPU_HARDWARE_FP == 1) || (CPU_SOFTWARE_FP == 1)
|
||||||
|
_Context_Restore_fp( &_Thread_Get_executing()->fp_context );
|
||||||
|
#endif
|
||||||
_Context_Switch(
|
_Context_Switch(
|
||||||
&executing->Registers,
|
&executing->Registers,
|
||||||
&_Thread_Get_executing()->Registers
|
&_Thread_Get_executing()->Registers
|
||||||
|
|||||||
Reference in New Issue
Block a user