Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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 <steiner@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>

authored by

Jack Steiner and committed by
Tony Luck
accaddb2 ffc45571

+6
+6
arch/ia64/kernel/time.c
··· 84 84 85 85 if (time_after(new_itm, ia64_get_itc())) 86 86 break; 87 + 88 + /* 89 + * Allow IPIs to interrupt the timer loop. 90 + */ 91 + local_irq_enable(); 92 + local_irq_disable(); 87 93 } 88 94 89 95 do {