From 3995e6d9c213515f0d636dc2f211bf3c0d997631 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 2 Sep 2015 11:58:54 +0200 Subject: score: Implement SMP-specific priority queue --- cpukit/score/src/thread.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpukit/score/src/thread.c') diff --git a/cpukit/score/src/thread.c b/cpukit/score/src/thread.c index e1d6d5c231..1ad7a59f32 100644 --- a/cpukit/score/src/thread.c +++ b/cpukit/score/src/thread.c @@ -20,6 +20,7 @@ #include #include +#include #include #define THREAD_OFFSET_ASSERT( field ) \ @@ -73,7 +74,7 @@ void _Thread_Initialize_information( &information->Free_thread_queue_heads, _Workspace_Allocate_or_fatal_error, _Objects_Maximum_per_allocation( maximum ), - sizeof( Thread_queue_Heads ) + THREAD_QUEUE_HEADS_SIZE( _Scheduler_Count ) ); } -- cgit v1.2.3