linux-mips
[Top] [All Lists]

Re: [PATCH 3/3] MIPS: Alchemy: irq: use runtime CPU type detection

To: Manuel Lauss <manuel.lauss@googlemail.com>
Subject: Re: [PATCH 3/3] MIPS: Alchemy: irq: use runtime CPU type detection
From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Date: Tue, 24 Nov 2009 17:27:18 +0300
Cc: Linux-MIPS <linux-mips@linux-mips.org>, Manuel Lauss <manuel.lauss@gmail.com>
In-reply-to: <1259005202-7771-3-git-send-email-manuel.lauss@gmail.com>
Organization: MontaVista Software Inc.
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1259005202-7771-1-git-send-email-manuel.lauss@gmail.com> <1259005202-7771-2-git-send-email-manuel.lauss@gmail.com> <1259005202-7771-3-git-send-email-manuel.lauss@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803
Hello.

Manuel Lauss wrote:

Use runtime CPU detection instead of relying on preprocessor symbols.

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>

[...]

@@ -547,36 +549,9 @@ handle:
        do_IRQ(off);
 }
-/* setup edge/level and assign request 0/1 */
-static void __init setup_irqmap(struct au1xxx_irqmap *map, int count)
+static void __init au1000_init_irq(struct au1xxx_irqmap *map)
 {

   Perhaps au1xxx_inint_irq() would be a better name...

WBR, Sergei

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