* [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* [PATCH] Fix rm9000 performance counter handler
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
1 sibling, 0 replies; 3+ messages in thread
From: Dajie Tan @ 2007-07-30 7:12 UTC (permalink / raw)
To: Ralf; +Cc: linux-mips
Sorry, forgot to add my sign. resend it.
Signed-off-by: Dajie Tan <jiankemeng@gmail.com>
---
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* Re: [PATCH] Fix rm9000 performance counter handler
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
1 sibling, 0 replies; 3+ messages in thread
From: Ralf Baechle @ 2007-07-30 11:08 UTC (permalink / raw)
To: Dajie Tan; +Cc: linux-mips
On Mon, Jul 30, 2007 at 11:07:42AM +0400, Dajie Tan wrote:
> 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
Your patch got garbled by your mailer. See
http://www.linux-mips.org/wiki/Mailing-patches for details.
Applied manually. Thanks,
Ralf
^ permalink raw reply [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