From: Li Zefan Date: Wed, 22 Oct 2008 07:25:26 +0000 (+0800) Subject: sched: add CONFIG_SMP consistency X-Git-Tag: v2.6.28-rc3~90^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ce72a2c063a7fa8e42a9435440ae3364115a58d;p=pandora-kernel.git sched: add CONFIG_SMP consistency a patch from Henrik Austad did this: >> Do not declare select_task_rq as part of sched_class when CONFIG_SMP is >> not set. Peter observed: > While a proper cleanup, could you do it by re-arranging the methods so > as to not create an additional ifdef? Do not declare select_task_rq and some other methods as part of sched_class when CONFIG_SMP is not set. Also gather those methods to avoid CONFIG_SMP mess. Idea-by: Henrik Austad Signed-off-by: Li Zefan Acked-by: Peter Zijlstra Acked-by: Henrik Austad Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed