]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sched_rt: don't start timer when rt bandwidth disabled
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Wed, 25 Feb 2009 17:59:26 +0000 (09:59 -0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 26 Feb 2009 13:18:55 +0000 (14:18 +0100)
commitcac64d00c256e65776d575e82aaf540632b66178
tree993ca627d80b76baefe322c3cbef9f1599d55bff
parent694593e3374a67d95ece6a275a1f181644c2c4d8
sched_rt: don't start timer when rt bandwidth disabled

Impact: fix incorrect condition check

No need to start rt bandwidth timer when rt bandwidth is disabled.
If this timer starts, it may stop at sched_rt_period_timer() on the first time.

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c