[PATCH] 2.5.49-ac1 : include/asm-386/io_apic.h

From: Frank Davis (fdavis@si.rr.com)
Date: Mon Nov 25 2002 - 21:26:39 EST


Hello all,
  The following patch seems to fix the 'apic_sis_bug undeclared' error
within include/asm-i386/io_apic.h . (I'm still compiling
2.5.49-ac1). sis_apic_bug is defined in
arch/i386/kernel/io_apic.c . Please review.

Regards,
Frank

--- linux/include/asm-i386/io_apic.h.old Mon Nov 25 21:24:21 2002
+++ linux/include/asm-i386/io_apic.h Mon Nov 25 21:22:17 2002
@@ -10,6 +10,7 @@
  *
  * Copyright (C) 1997, 1998, 1999, 2000 Ingo Molnar
  */
+extern int sis_apic_bug;
 
 #ifdef CONFIG_X86_IO_APIC
 
@@ -125,7 +126,7 @@
  */
 static inline void io_apic_modify(unsigned int apic, unsigned int reg, unsigned int value)
 {
- if(apic_sis_bug)
+ if(sis_apic_bug)
                 *IO_APIC_BASE(apic) = reg;
         *(IO_APIC_BASE(apic)+4) = value;
 }

-
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 : Sat Nov 30 2002 - 22:00:12 EST