From 9db3cc21e9c444f4660f14a74e1598d7bc214906 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Sun, 29 Oct 2017 07:38:37 +0100 Subject: score: Fix non-SMP build --- cpukit/score/src/schedulersetaffinity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/src') diff --git a/cpukit/score/src/schedulersetaffinity.c b/cpukit/score/src/schedulersetaffinity.c index 00d1a8b207..1da339553e 100644 --- a/cpukit/score/src/schedulersetaffinity.c +++ b/cpukit/score/src/schedulersetaffinity.c @@ -41,7 +41,7 @@ bool _Scheduler_Set_affinity( * _Thread_Initialize() which sets the default affinity to the set of online * processors. */ - _Processor_mask_And( &affinity, &_SMP_Online_processors, &affinity ); + _Processor_mask_And( &affinity, _SMP_Get_online_processors(), &affinity ); scheduler = _Thread_Scheduler_get_home( the_thread ); _Scheduler_Acquire_critical( scheduler, &lock_context ); -- cgit v1.2.3