The new type of irq handler remove a parameter (struct pt_regs *),but someone forgot to supply it. Signed-off-by: --- diff --git a/arch/mips/oprofile/op_model_rm9000.c b/arch/mips/oprofile/op_model_rm9000.c index 7dc9bf6..98b5257 100644 --- a/arch/mips/oprofile/op_model_rm9000.c +++ b/arch/mips/oprofile/op_model_rm9000.c @@ -85,6 +85,7 @@ static irqreturn_t rm9000_perfcount_handler(int irq, void * dev_id) unsigned int control = read_c0_perfcontrol(); uint32_t counter1, counter2; uint64_t counters; + struct pt_regs *regs = get_irq_regs(); /* * RM9000 combines two 32-bit performance counters into a single