summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/schedulerprioritysmp.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-06-10 16:32:12 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-06-23 09:13:00 +0200
commit647b95df9fa324795f3398d0562d363fd7d5079f (patch)
tree432bcc5fbc68fd6d303d8d0d47c94a1fb4ea09ba /cpukit/score/src/schedulerprioritysmp.c
parentscore: Collect scheduler related fields in TCB (diff)
downloadrtems-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 'cpukit/score/src/schedulerprioritysmp.c')
-rw-r--r--cpukit/score/src/schedulerprioritysmp.c2
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 ]
);