linux-mips
[Top] [All Lists]

[PATCH] Function / prototype mismatch

To: linux-mips@linux-mips.org
Subject: [PATCH] Function / prototype mismatch
From: Thomas Koeller <thomas.koeller@baslerweb.com>
Date: Tue, 9 Nov 2004 13:28:42 +0100
Organization: Basler AG
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.6.2
The definition of do_IRQ() in arch/mips/kernel/irq.c
does not match the prototype in include/asm-mips/irq.h,
resulting in a compile error.

tk

Signed-off-by: Thomas Koeller <thomas.koeller@baslerweb.com>


--- linux-mips-cvs/arch/mips/kernel/irq.c       2004-11-09 11:43:46.921669824 
+0100
+++ linux-mips-basler/arch/mips/kernel/irq.c    2004-11-09 13:18:46.496202792 
+0100
@@ -45,7 +45,7 @@
  * SMP cross-CPU interrupts have their own specific
  * handlers).
  */
-asmlinkage unsigned int do_IRQ(unsigned int irq, struct pt_regs *regs)
+asmlinkage unsigned int do_IRQ(int irq, struct pt_regs *regs)
 {
        irq_enter();
 

-- 
--------------------------------------------------

Thomas Koeller, Software Development
Basler Vision Technologies

thomas dot koeller at baslerweb dot com
http://www.baslerweb.com

==============================


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