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

[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
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment