x86_64: Remove unnecessary lapic definition from acpidef.h
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..
Signed-off-by Ashok Raj <[email protected]>
Cc Andi Kleen <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
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
@@ -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
@@ -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;
_