diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-06-10 16:32:12 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-06-23 09:13:00 +0200 |
commit | 647b95df9fa324795f3398d0562d363fd7d5079f (patch) | |
tree | 432bcc5fbc68fd6d303d8d0d47c94a1fb4ea09ba /cpukit/score/src/schedulerprioritysmp.c | |
parent | score: Collect scheduler related fields in TCB (diff) | |
download | rtems-647b95df9fa324795f3398d0562d363fd7d5079f.tar.bz2 |
score: Use chain nodes for ready queue support
This reduces the API to the minimum data structures to maximize the
re-usability.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/src/schedulerprioritysmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/schedulerprioritysmp.c b/cpukit/score/src/schedulerprioritysmp.c index bcbd26df3f..b6b5ff415e 100644 --- a/cpukit/score/src/schedulerprioritysmp.c +++ b/cpukit/score/src/schedulerprioritysmp.c @@ -75,7 +75,7 @@ static Thread_Control *_Scheduler_priority_SMP_Get_highest_ready( (void) thread; - return _Scheduler_priority_Ready_queue_first( + return (Thread_Control *) _Scheduler_priority_Ready_queue_first( &self->Bit_map, &self->Ready[ 0 ] ); |