diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-29 07:38:37 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-29 07:38:37 +0100 |
commit | 9db3cc21e9c444f4660f14a74e1598d7bc214906 (patch) | |
tree | d6f5de16f89092c67b57fbd3e6138b8f22bb3bdf /cpukit | |
parent | tests: Remove TEST_INIT (diff) | |
download | rtems-9db3cc21e9c444f4660f14a74e1598d7bc214906.tar.bz2 |
score: Fix non-SMP build
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/score/src/schedulersetaffinity.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |