[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] PATCH: fix compiler warning on noirqdebug_setup

  • To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
  • From: Rik van Riel <riel@xxxxxxxxxx>
  • Date: Wed, 8 Dec 2004 12:52:37 -0500 (EST)
  • Delivery-date: Wed, 08 Dec 2004 17:53:28 +0000
  • List-id: List for Xen developers <xen-devel.lists.sourceforge.net>

  CC      arch/xen/i386/kernel/irq.o
arch/xen/i386/kernel/irq.c:276: warning: static declaration of 
'noirqdebug_setup' follows non-static declaration
include/asm/irq.h:64: warning: previous declaration of 'noirqdebug_setup' was 

Apparently this function might even be called from drivers/pci/quirks.c.

--- linux-2.6.9/arch/xen/i386/kernel/irq.c.warn 2004-12-08 12:49:19.104521386 
+++ linux-2.6.9/arch/xen/i386/kernel/irq.c      2004-12-08 12:49:29.115934054 
@@ -272,7 +272,7 @@

 static int noirqdebug;

-static int __init noirqdebug_setup(char *str)
+int __init noirqdebug_setup(char *str)
        noirqdebug = 1;
        printk("IRQ lockup detection disabled\n");

SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.