sched: cleanup: refactor normalize_rt_tasks
authorAndi Kleen <ak@suse.de>
Mon, 15 Oct 2007 15:00:15 +0000 (17:00 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 15 Oct 2007 15:00:15 +0000 (17:00 +0200)
Replace a particularly ugly ifdef with an inline and a new macro.
Also split up the function to be easier to read.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c

diff --cc kernel/sched.c
Simple merge