From: Jack Steiner Date: Mon, 16 Oct 2006 17:56:54 +0000 (-0500) Subject: [IA64] - Allow IPIs in timer loop X-Git-Tag: upstream/snapshot3+hdmi~36210^2~47^2~95^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=accaddb27a2d544e38e10ff2a2782b33bbbad913;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [IA64] - Allow IPIs in timer loop Allow pending IPIs to interrupt a timer interrupt that is looping in the do_timer() "while" loop in timer_interrupt(). (Interrupts are allowed at only 1 spot in the code). Signed-off-by: Jack Steiner Signed-off-by: Tony Luck --- diff --git a/arch/ia64/kernel/time.c b/arch/ia64/kernel/time.c index 41169a9..39e0cd3 100644 --- a/arch/ia64/kernel/time.c +++ b/arch/ia64/kernel/time.c @@ -84,6 +84,12 @@ timer_interrupt (int irq, void *dev_id) if (time_after(new_itm, ia64_get_itc())) break; + + /* + * Allow IPIs to interrupt the timer loop. + */ + local_irq_enable(); + local_irq_disable(); } do {