Skip to content

Commit

Permalink
[IA64] perfmon fix for global IRQ fix
Browse files Browse the repository at this point in the history
Missed one piece of ia64 fallout from the global IRQ patch
 7d12e78

Perfmon interrupt handler needs to use get_irq_regs() too.

Acked-by: stephane eranian <eranian@hpl.hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Tony Luck committed Oct 17, 2006
1 parent 4e4bc30 commit 3bbe486
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/ia64/kernel/perfmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -5558,12 +5558,13 @@ pfm_do_interrupt_handler(int irq, void *arg, struct pt_regs *regs)
}

static irqreturn_t
pfm_interrupt_handler(int irq, void *arg, struct pt_regs *regs)
pfm_interrupt_handler(int irq, void *arg)
{
unsigned long start_cycles, total_cycles;
unsigned long min, max;
int this_cpu;
int ret;
struct pt_regs *regs = get_irq_regs();

this_cpu = get_cpu();
if (likely(!pfm_alt_intr_handler)) {
Expand Down

0 comments on commit 3bbe486

Please sign in to comment.