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

Commit c8f4ff9f authored by Dajie Tan's avatar Dajie Tan Committed by Ralf Baechle
Browse files

[MIPS] Oprofile: Fix rm9000 performance counter handler



The new type of irq handler remove a parameter (struct pt_regs *),but
someone forgot to supply it.

Signed-off-by: default avatarDajie Tan <jiankemeng@gmail.com>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent dde96ca8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -83,6 +83,7 @@ static void rm9000_cpu_stop(void *args)
static irqreturn_t rm9000_perfcount_handler(int irq, void * dev_id)
{
	unsigned int control = read_c0_perfcontrol();
	struct pt_regs *regs = get_irq_regs();
	uint32_t counter1, counter2;
	uint64_t counters;