From: Dajie Tan Date: Mon, 30 Jul 2007 07:07:42 +0000 (+0400) Subject: [MIPS] Oprofile: Fix rm9000 performance counter handler X-Git-Tag: v2.6.23-rc2~30^2~9 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8f4ff9f3f655c92ca7b31850bfea2ce3796e386;p=linux-2.6 [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 Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/oprofile/op_model_rm9000.c b/arch/mips/oprofile/op_model_rm9000.c index 7dc9bf6f13..d29040a56a 100644 --- a/arch/mips/oprofile/op_model_rm9000.c +++ b/arch/mips/oprofile/op_model_rm9000.c @@ -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;