]> err.no Git - linux-2.6/commit
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)
commit3a5e4dc12f23fb96fafd4f5d0f61e6c3070f80a5
treee7c0246126f7cf169cdd167555a1db209d5b03ef
parent8cbbe86dfcfd68ad69916164bdc838d9e09adca8
sched: cleanup: refactor normalize_rt_tasks

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