From cd198a55112799ca770a5d29537d46ee5d983988 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 17 Sep 2021 08:30:57 +0200 Subject: score: Remove unused default scheduler ops If SMP support is enabled and the system has exactly one processor, then it may use an uniprocessor scheduler. The ask for help, reconsider help request, and withdraw node operations can be NULL in this case, since they are only used if a thread has at least one helping scheduler node. At least two schedulers are required to get a helping node and each scheduler involved must own at least one processor. This is not possible on a system with exactly one processor. --- spec/build/cpukit/objsmp.yml | 1 - 1 file changed, 1 deletion(-) (limited to 'spec/build/cpukit') diff --git a/spec/build/cpukit/objsmp.yml b/spec/build/cpukit/objsmp.yml index c1b0611d0c..1a55708638 100644 --- a/spec/build/cpukit/objsmp.yml +++ b/spec/build/cpukit/objsmp.yml @@ -13,7 +13,6 @@ source: - cpukit/score/src/percpujobs.c - cpukit/score/src/percpustatewait.c - cpukit/score/src/profilingsmplock.c -- cpukit/score/src/schedulerdefaultaskforhelp.c - cpukit/score/src/schedulerdefaultpinunpin.c - cpukit/score/src/schedulerdefaultpinunpindonothing.c - cpukit/score/src/schedulerdefaultsetaffinity.c -- cgit v1.2.3