diff options
author | Watanabe <shunsuke.watanabe@tel.com> | 2012-10-28 10:13:44 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-05-14 18:38:10 (GMT) |
commit | 2db9808e71c8d10daefbe97470a9068b0d67eb0c (patch) | |
tree | d333d3a7af40b32a7f37caca0fa4cc3c55c5d364 | |
parent | 8be2c3b63c417d31a3c54bd2605ec093ab0cf26d (diff) | |
download | linux-fsl-qoriq-2db9808e71c8d10daefbe97470a9068b0d67eb0c.tar.xz |
hrtimer: Raise softirq if hrtimer irq stalled
When the hrtimer stall detection hits the softirq is not raised.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable-rt@vger.kernel.org
-rw-r--r-- | kernel/hrtimer.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index 0d7fac6..2ddbd6f 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c @@ -1559,11 +1559,7 @@ retry: if (expires_next.tv64 == KTIME_MAX || !tick_program_event(expires_next, 0)) { cpu_base->hang_detected = 0; - - if (raise) - raise_softirq_irqoff(HRTIMER_SOFTIRQ); - - return; + goto out; } /* @@ -1607,6 +1603,9 @@ retry: tick_program_event(expires_next, 1); printk_once(KERN_WARNING "hrtimer: interrupt took %llu ns\n", ktime_to_ns(delta)); +out: + if (raise) + raise_softirq_irqoff(HRTIMER_SOFTIRQ); } /* |