Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[IA64] perfmon fix for global IRQ fix

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

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>

Tony Luck 3bbe486b 4e4bc305

+2 -1
+2 -1
arch/ia64/kernel/perfmon.c
··· 5558 5558 } 5559 5559 5560 5560 static irqreturn_t 5561 - pfm_interrupt_handler(int irq, void *arg, struct pt_regs *regs) 5561 + pfm_interrupt_handler(int irq, void *arg) 5562 5562 { 5563 5563 unsigned long start_cycles, total_cycles; 5564 5564 unsigned long min, max; 5565 5565 int this_cpu; 5566 5566 int ret; 5567 + struct pt_regs *regs = get_irq_regs(); 5567 5568 5568 5569 this_cpu = get_cpu(); 5569 5570 if (likely(!pfm_alt_intr_handler)) {