[patch 24/26] x86_64: Remove unnecessary lapic definition from acpidef.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ashok Raj <ashok.raj@xxxxxxxxx>

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 <ashok.raj@xxxxxxxxx>
Cc: Andi Kleen <ak@xxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 include/asm-i386/apicdef.h   |    1 -
 include/asm-x86_64/apicdef.h |    2 --
 2 files changed, 3 deletions(-)

diff -puN include/asm-i386/apicdef.h~remove-unnecessary-lapic-definition-from-acpidefh include/asm-i386/apicdef.h
--- devel/include/asm-i386/apicdef.h~remove-unnecessary-lapic-definition-from-acpidefh	2006-03-28 14:03:07.000000000 -0800
+++ devel-akpm/include/asm-i386/apicdef.h	2006-03-28 14:03:07.000000000 -0800
@@ -120,7 +120,6 @@
  */
 #define u32 unsigned int
 
-#define lapic ((volatile struct local_apic *)APIC_BASE)
 
 struct local_apic {
 
diff -puN include/asm-x86_64/apicdef.h~remove-unnecessary-lapic-definition-from-acpidefh include/asm-x86_64/apicdef.h
--- devel/include/asm-x86_64/apicdef.h~remove-unnecessary-lapic-definition-from-acpidefh	2006-03-28 14:03:07.000000000 -0800
+++ devel-akpm/include/asm-x86_64/apicdef.h	2006-03-28 14:03:07.000000000 -0800
@@ -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;
_
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux