Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3bbe486b authored by Tony Luck's avatar Tony Luck
Browse files

[IA64] perfmon fix for global IRQ fix



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

Perfmon interrupt handler needs to use get_irq_regs() too.

Acked-by: default avatarstephane eranian <eranian@hpl.hp.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 4e4bc305
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -5558,12 +5558,13 @@ report_spurious2:
}

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)) {