Skip to contentSkip to conversation

x86_64: Remove unnecessary lapic definition from acpidef.h

PATCH In review [email protected] 1 participant 1 message Mar 28, 2006 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 24/26 x86_64: Remove unnecessary lapic definition from acpidef.h

From: Ashok Raj <[email protected]>

Dont know why this exists... just happened to trip me when i used a variable name with lapic, and until i looked at the pre-processed output couldnt figure out we had a lame definition like this.

Hope I am not breaking anything here..

---

 include/asm-i386/apicdef.h   |    1 -
 include/asm-x86_64/apicdef.h |    2 --
 2 files changed, 3 deletions(-)
include/asm-i386/apicdef.h renamed from include/asm-i386/apicdef.h~remove-unnecessary-lapic-definition-from-acpidefh +0 -1
diff -puN include/asm-i386/apicdef.h~remove-unnecessary-lapic-definition-from-acpidefh include/asm-i386/apicdef.h
@@ -120,7 +120,6 @@
  */
 #define u32 unsigned int
 
-#define lapic ((volatile struct local_apic *)APIC_BASE)
 
 struct local_apic {
 
include/asm-x86_64/apicdef.h renamed from include/asm-x86_64/apicdef.h~remove-unnecessary-lapic-definition-from-acpidefh +0 -2
diff -puN include/asm-x86_64/apicdef.h~remove-unnecessary-lapic-definition-from-acpidefh include/asm-x86_64/apicdef.h
@@ -137,8 +137,6 @@
  */
 #define u32 unsigned int
 
-#define lapic ((volatile struct local_apic *)APIC_BASE)
-
 struct local_apic {
 
 /*000*/	struct { u32 __reserved[4]; } __reserved_01;

_