Skip to content

Commit

Permalink
[IA64] disable interrupts at end of ia64_mca_cpe_int_handler()
Browse files Browse the repository at this point in the history
SAL requires that interrupts be enabled when making some calls
to it to pick up error records, so we enable interrupts inside
this handler.  We should disable them again at the end.

Found by a new WARN_ONCE that tglx added to handle_irq_event_percpu()

Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
aegl committed Feb 24, 2011
1 parent 9f97535 commit a396768
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/ia64/kernel/mca.c
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,8 @@ ia64_mca_cpe_int_handler (int cpe_irq, void *arg)
/* Get the CPE error record and log it */
ia64_mca_log_sal_error_record(SAL_INFO_TYPE_CPE);

local_irq_disable();

return IRQ_HANDLED;
}

Expand Down

0 comments on commit a396768

Please sign in to comment.