[Top] [All Lists]

Re: [PATCH 1/2] Wind River 4KC PPMC Eval Board Support

To: Ralf Baechle <>
Subject: Re: [PATCH 1/2] Wind River 4KC PPMC Eval Board Support
From: "Mark.Zhan" <>
Date: Wed, 10 May 2006 10:41:16 +0800
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
User-agent: Thunderbird 1.5 (X11/20060313)
Ralf Baechle wrote:
On Sat, May 06, 2006 at 05:04:20PM +0800, Mark.Zhan wrote:

According to your comments, I re-create the patch. Hopefully, no line-wrapped 
Patch 1 and 2 in the original mails are concatenated into one patch in this 

Well, this patch was still somewhat corrupt, a few spaces were missing

Huhh, I don't what's wrong with my thunderbird.

but I was somehow able to talk git into taking it.  So it's applied on
the queue branch.


After looking into the changeset ac58afdfac792c0583af30dbd9eae53e24c78b, I find what I want to do has been done by you:-)

For those MIPS32 boards which only use IRQ_CPU, I think, we can provide a default plat_irq_dispatch() implemention, maybe like this:

asmlinkage plat_irq_dispatch(struct pt_regs *regs)
        unsigned int pending = read_c0_status() & read_c0_cause();
        int irq;

        irq = ffs(pending >> 8) - 1;
        return do_IRQ(irq, regs);

I this it will clean up more codes......

Best Regards,

<Prev in Thread] Current Thread [Next in Thread>