Re: [Patch 0/2] Disable SW irqbalance/irqaffinity forE7520/E7320/E7525

From: Andrew Morton
Date: Thu Sep 30 2004 - 17:49:54 EST


Suresh Siddha <suresh.b.siddha@xxxxxxxxx> wrote:
>
> --- linux-2.6.9-rc2/drivers/pci/quirks.c 2004-09-12 22:31:27.000000000 -0700
> +++ linux-irq/drivers/pci/quirks.c 2004-09-08 18:20:59.794026624 -0700
> @@ -814,6 +814,55 @@
> DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801DB_12, asus_hides_smbus_lpc );
> DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801EB_0, asus_hides_smbus_lpc );
>
> +#if defined(CONFIG_X86_IO_APIC) && defined(CONFIG_SMP)
> +#include <asm/hw_irq.h>
> +#ifdef CONFIG_IRQBALANCE
> +extern int irqbalance_disable(char *str);
> +#endif
> +extern int no_irq_affinity;
> +extern int noirqdebug_setup(char *str);

Please don't put extern declarations in .c files. Try to find a suitable
header file which is included by both the definition and the users of these
variables/functions.

If there is no appropriate header file, feel free to create a new one.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/