From: Yong Zhang Date: Tue, 9 Feb 2010 19:43:59 +0000 (-0500) Subject: sched: Cleanup pre_schedule_rt X-Git-Tag: v3.1-rc1~298^2~19^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33c3d6c61debcc0d295fe65521cfbc45409936c7;p=pandora-kernel.git sched: Cleanup pre_schedule_rt Since [commit 9a897c5a: sched: RT-balance, replace hooks with pre/post schedule and wakeup methods] we must call pre_schedule_rt if prev is rt task. So condition rt_task(prev) is always true and the 'unlikely' declaration is simply incorrect. Signed-off-by: Yong Zhang Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Rusty Russell Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed