]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[POWERPC] Fix comment in kernel/irq.c
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 13 Dec 2006 12:38:22 +0000 (13:38 +0100)
committerPaul Mackerras <paulus@samba.org>
Thu, 8 Feb 2007 05:08:35 +0000 (16:08 +1100)
kernel/irq.c contains a comment that speaks of -1 and -2 as interrupt
numbers, but this is actually dependent on configuration options now.
Replace by NO_IRQ and NO_IRQ_ENABLED.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/irq.c

index 34dc37e0e369e7ad70aabd898ea080c09a14907e..919fbf5684950f3b46073b301e8ec5b47814076c 100644 (file)
@@ -281,10 +281,10 @@ void do_IRQ(struct pt_regs *regs)
 
        /*
         * Every platform is required to implement ppc_md.get_irq.
-        * This function will either return an irq number or -1 to
+        * This function will either return an irq number or NO_IRQ to
         * indicate there are no more pending.
-        * The value -2 is for buggy hardware and means that this IRQ
-        * has already been handled. -- Tom
+        * The value NO_IRQ_IGNORE is for buggy hardware and means that this
+        * IRQ has already been handled. -- Tom
         */
        irq = ppc_md.get_irq();