diff options
author | Watanabe <shunsuke.watanabe@tel.com> | 2012-10-28 10:13:44 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-04-10 00:19:07 (GMT) |
commit | 460934140b740df3fb6a9e1f0f872e6d13f844f0 (patch) | |
tree | ef8a5c6be5d8fe80f3879d259773938c01aa0607 | |
parent | ea408e3da40df36ea828ac753c3d2978722d8dfa (diff) | |
download | linux-fsl-qoriq-460934140b740df3fb6a9e1f0f872e6d13f844f0.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); } /* |