projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dde96ca
)
[MIPS] Oprofile: Fix rm9000 performance counter handler
author
Dajie Tan
<jiankemeng@gmail.com>
Mon, 30 Jul 2007 07:07:42 +0000
(11:07 +0400)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 31 Jul 2007 20:35:33 +0000
(21:35 +0100)
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>
arch/mips/oprofile/op_model_rm9000.c
patch
|
blob
|
history
diff --git
a/arch/mips/oprofile/op_model_rm9000.c
b/arch/mips/oprofile/op_model_rm9000.c
index
7dc9bf6
..
d29040a
100644
(file)
--- 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;