Commit:     c8f4ff9f3f655c92ca7b31850bfea2ce3796e386
Parent:     dde96ca8b398637e2b4442e312723f66fa6a8186
Author:     Dajie Tan <[EMAIL PROTECTED]>
AuthorDate: Mon Jul 30 11:07:42 2007 +0400
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Tue Jul 31 21:35:33 2007 +0100

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
 arch/mips/oprofile/op_model_rm9000.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/mips/oprofile/op_model_rm9000.c 
index 7dc9bf6..d29040a 100644
--- 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;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to