Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] Fix rm9000 performance counter handler
@ 2007-07-30  7:07 Dajie Tan
  2007-07-30  7:12 ` Dajie Tan
  2007-07-30 11:08 ` Ralf Baechle
  0 siblings, 2 replies; 3+ messages in thread
From: Dajie Tan @ 2007-07-30  7:07 UTC (permalink / raw)
  To: Ralf; +Cc: linux-mips

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-30 11:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-30  7:07 [PATCH] Fix rm9000 performance counter handler Dajie Tan
2007-07-30  7:12 ` Dajie Tan
2007-07-30 11:08 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox