2.5.49-ac1 : include/asm-386/io_apic.h
PATCH 1/1 2.5.49-ac1 : include/asm-386/io_apic.h
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
include/asm-i386/io_apic.h renamed from include/asm-i386/io_apic.h.old +2 -1
@@ -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; }