patch-2.1.110 linux/include/asm-i386/smp.h

Next file: linux/include/asm-m68k/bitops.h
Previous file: linux/include/asm-i386/processor.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.109/linux/include/asm-i386/smp.h linux/include/asm-i386/smp.h
@@ -6,6 +6,7 @@
 
 #include <asm/i82489.h>
 #include <asm/bitops.h>
+#include <asm/fixmap.h>
 #include <linux/tasks.h>
 #include <linux/ptrace.h>
 
@@ -196,7 +197,7 @@
  *	"Back to Back Assertions of HOLD May Cause Lost APIC Write Cycle"
  */
 
-#define APIC_BASE ((char *)0xFEE00000)
+#define APIC_BASE (fix_to_virt(FIX_APIC_BASE))
 
 extern __inline void apic_write(unsigned long reg, unsigned long v)
 {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov