[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 <jiankemeng@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Dajie Tan 2007-07-30 11:07:42 +04:00 committed by Ralf Baechle
parent dde96ca8b3
commit c8f4ff9f3f
1 changed files with 1 additions and 0 deletions

View File

@ -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;