From 155f74575ee21b0c4688b70e61457689f448a4fb Mon Sep 17 00:00:00 2001 From: Dajie Tan Date: Mon, 30 Jul 2007 11:07:42 +0400 Subject: [PATCH] --- yaml --- r: 63489 b: refs/heads/master c: c8f4ff9f3f655c92ca7b31850bfea2ce3796e386 h: refs/heads/master i: 63487: 8031156924b9ef682436918f5ea3f5b322cdd5a0 v: v3 --- [refs] | 2 +- trunk/arch/mips/oprofile/op_model_rm9000.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index d065a073fcad..9a0fd9fe387a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: dde96ca8b398637e2b4442e312723f66fa6a8186 +refs/heads/master: c8f4ff9f3f655c92ca7b31850bfea2ce3796e386 diff --git a/trunk/arch/mips/oprofile/op_model_rm9000.c b/trunk/arch/mips/oprofile/op_model_rm9000.c index 7dc9bf6f1321..d29040a56aea 100644 --- a/trunk/arch/mips/oprofile/op_model_rm9000.c +++ b/trunk/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;