Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit accaddb2 authored by Jack Steiner's avatar Jack Steiner Committed by Tony Luck
Browse files

[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: default avatarJack Steiner <steiner@sgi.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent ffc45571
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -84,6 +84,12 @@ timer_interrupt (int irq, void *dev_id)


		if (time_after(new_itm, ia64_get_itc()))
		if (time_after(new_itm, ia64_get_itc()))
			break;
			break;

		/*
		 * Allow IPIs to interrupt the timer loop.
		 */
		local_irq_enable();
		local_irq_disable();
	}
	}


	do {
	do {