linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / include / asm-x86_64 / apicdef.h
index 1dd4006..decaa2d 100644 (file)
@@ -39,7 +39,6 @@
 #define                        APIC_SPIV_FOCUS_DISABLED        (1<<9)
 #define                        APIC_SPIV_APIC_ENABLED          (1<<8)
 #define                APIC_ISR        0x100
-#define                APIC_ISR_NR     0x8     /* Number of 32 bit ISR registers. */
 #define                APIC_TMR        0x180
 #define        APIC_IRR        0x200
 #define        APIC_ESR        0x280
  */
 #define u32 unsigned int
 
+#define lapic ((volatile struct local_apic *)APIC_BASE)
+
 struct local_apic {
 
 /*000*/        struct { u32 __reserved[4]; } __reserved_01;