[PATCH] compile fix for dmi_scan.c in 2.4.bk-current

From: john stultz (johnstul@us.ibm.com)
Date: Tue Oct 15 2002 - 13:40:53 EST


Marcelo,
        Saw you've inc'ed the EXTRAVERSION in bk, so I figured I should send
this fix to you before you mailed out pre11.

I'm not sure if its the "proper" fix, but solves:

arch/i386/kernel/kernel.o: In function `fix_broken_hp_bios_irq9':
arch/i386/kernel/kernel.o(.text.init+0x3601): undefined reference to
`broken_hp_bios_irq9'
arch/i386/kernel/kernel.o(.text.init+0x3614): undefined reference to
`broken_hp_bios_irq9'

thanks
-john

PS: agpgart seems broken as well, but I don't normally build w/ it, so
I'll leave the fix to someone who knows what they're doing.

--- 1.26/arch/i386/kernel/dmi_scan.c Thu Oct 10 16:12:50 2002
+++ edited/arch/i386/kernel/dmi_scan.c Tue Oct 15 00:55:36 2002
@@ -492,7 +492,7 @@
 static __init int fix_broken_hp_bios_irq9(struct dmi_blacklist *d)
 {
 #ifdef CONFIG_PCI
- extern int broken_hp_bios_irq9;
+ int broken_hp_bios_irq9;
        if (broken_hp_bios_irq9 == 0)
        {
                broken_hp_bios_irq9 = 1;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:56 EST