diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-05-14 16:04:10 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-05-14 17:01:22 +0200 |
commit | 2369b10a71d4a0aa0be3bbfc51f1fb402d8427a7 (patch) | |
tree | 166673f1e052dbc479cc2eef2e5ef94705eec6bc /cpukit/score/include/rtems/score/schedulerpriorityimpl.h | |
parent | score: _Scheduler_priority_Ready_queue_requeue() (diff) | |
download | rtems-2369b10a71d4a0aa0be3bbfc51f1fb402d8427a7.tar.bz2 |
score: Add and use _Scheduler_Get_context()
Diffstat (limited to 'cpukit/score/include/rtems/score/schedulerpriorityimpl.h')
-rw-r--r-- | cpukit/score/include/rtems/score/schedulerpriorityimpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/schedulerpriorityimpl.h b/cpukit/score/include/rtems/score/schedulerpriorityimpl.h index ffcc2d32cf..ae0cd1ad9b 100644 --- a/cpukit/score/include/rtems/score/schedulerpriorityimpl.h +++ b/cpukit/score/include/rtems/score/schedulerpriorityimpl.h @@ -38,7 +38,7 @@ extern "C" { RTEMS_INLINE_ROUTINE Scheduler_priority_Context * _Scheduler_priority_Get_context( const Scheduler_Control *scheduler ) { - return (Scheduler_priority_Context *) scheduler->context; + return (Scheduler_priority_Context *) _Scheduler_Get_context( scheduler ); } RTEMS_INLINE_ROUTINE Scheduler_priority_Node *_Scheduler_priority_Node_get( |