Files
linux/kernel
Li Zefan 4ce72a2c06 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 <henrik.austad@gmail.com>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Henrik Austad <henrik@austad.us>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-10-22 10:01:52 +02:00
..
2008-08-14 14:58:01 +02:00
2008-10-16 11:21:30 -07:00
2008-07-26 20:53:20 -04:00
2008-10-13 09:51:40 -07:00
2008-03-30 14:18:41 -07:00
2008-07-28 14:37:38 +02:00
2008-07-26 12:00:09 -07:00
2008-08-13 12:55:10 +02:00
2008-10-16 11:21:32 -07:00
2008-09-02 19:21:40 -07:00
2008-10-22 10:01:52 +02:00
2008-10-22 10:01:52 +02:00
2008-10-20 14:05:02 +02:00
2008-08-19 20:37:07 -07:00
2008-10-16 11:21:31 -07:00
2008-02-06 10:41:02 -08:00
2008-10-16 11:21:51 -07:00
2008-10-16 11:21:31 -07:00
2008-07-25 10:53:45 -07:00
2008-10-20 14:05:02 +02:00
2008-08-11 13:46:53 +02:00
2008-10-16 11:21:47 -07:00
2008-10-16 11:21:31 -07:00