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

[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: Dajie Tan <jiankemeng@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Dajie Tan and committed by
Ralf Baechle
c8f4ff9f dde96ca8

+1
+1
arch/mips/oprofile/op_model_rm9000.c
··· 83 83 static irqreturn_t rm9000_perfcount_handler(int irq, void * dev_id) 84 84 { 85 85 unsigned int control = read_c0_perfcontrol(); 86 + struct pt_regs *regs = get_irq_regs(); 86 87 uint32_t counter1, counter2; 87 88 uint64_t counters; 88 89