Skip to content

Commit

Permalink
[IA64] - Allow IPIs in timer loop
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jack Steiner authored and Tony Luck committed Oct 17, 2006
1 parent ffc4557 commit accaddb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/ia64/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit accaddb

Please sign in to comment.