| To: | Ralf <ralf@linux-mips.org> |
|---|---|
| Subject: | [PATCH] Fix rm9000 performance counter handler |
| From: | "Dajie Tan" <jiankemeng@gmail.com> |
| Date: | Mon, 30 Jul 2007 11:07:42 +0400 |
| Cc: | linux-mips@linux-mips.org |
| Dkim-signature: | a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=fohjyq1VikuAWIEjlMEPd8Lu46EisrlGT08Pe3yNH0/OzfsiEJzIiTWj9HziOPOtzA0IZISP5Or1x3VPHCLdkqAaSu0sgnad115/kqkJWnplfFgWfYhJ8wsD7pq7xsb2OLAsNBlYLdmKs/Ki54nt/fBBPmkZ2isPwhaBzm6+giM= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=mM+QMlQIFHbi7WJmrTzB8C8MM/CFvoCt6fdhyyVk3fs4siTiuT9UAWnMd8DJZGC7G76XhCHbYrEYs98v9lwBN/ev25XDaUDmgnIdSMzTgY9K4fRCM1wztOZqhRpDX/bpqtChfy8FCZhjYwWE1nV0KK5zVJBSegHY4cR/Ip3TKpk= |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [SPAM] Linux 2.6.12 cannot run on 24K. Please give me some clues., colin |
|---|---|
| Next by Date: | [PATCH] Fix rm9000 performance counter handler, Dajie Tan |
| Previous by Thread: | [PATCH] [MIPS]Remove unneeded header file, Songmao Tian |
| Next by Thread: | [PATCH] Fix rm9000 performance counter handler, Dajie Tan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |