[IA64] perfmon fix for global IRQ fix

Missed one piece of ia64 fallout from the global IRQ patch
 7d12e780e0

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>
This commit is contained in:
Tony Luck 2006-10-17 14:28:16 -07:00
parent 4e4bc305e1
commit 3bbe486b36
1 changed files with 2 additions and 1 deletions

View File

@ -5558,12 +5558,13 @@ report_spurious2:
} }
static irqreturn_t 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 start_cycles, total_cycles;
unsigned long min, max; unsigned long min, max;
int this_cpu; int this_cpu;
int ret; int ret;
struct pt_regs *regs = get_irq_regs();
this_cpu = get_cpu(); this_cpu = get_cpu();
if (likely(!pfm_alt_intr_handler)) { if (likely(!pfm_alt_intr_handler)) {