aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2007-10-12 17:04:06 -0400
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>2007-10-12 17:04:06 -0400
commit7ffeeb1e03c4fc1c7e8434c5496018dd035f8924 (patch)
tree85be569203f1dffc9a4a96811a36e6e161e88c40 /arch
parent0190dae54de62fbb9ced75d134015266987eb6b8 (diff)
x86: remove never used apic_mapped
[ tglx: arch/x86 adaptation ] Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Andi Kleen <ak@suse.de> Cc: Christoph Lameter <clameter@sgi.com> Cc: Len Brown <lenb@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/apic_64.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/kernel/apic_64.c b/arch/x86/kernel/apic_64.c
index 925758dbca0c..48206bb8de1f 100644
--- a/arch/x86/kernel/apic_64.c
+++ b/arch/x86/kernel/apic_64.c
@@ -39,7 +39,6 @@
39#include <asm/hpet.h> 39#include <asm/hpet.h>
40#include <asm/apic.h> 40#include <asm/apic.h>
41 41
42int apic_mapped;
43int apic_verbosity; 42int apic_verbosity;
44int apic_runs_main_timer; 43int apic_runs_main_timer;
45int apic_calibrate_pmtmr __initdata; 44int apic_calibrate_pmtmr __initdata;
@@ -706,8 +705,8 @@ void __init init_apic_mappings(void)
706 apic_phys = mp_lapic_addr; 705 apic_phys = mp_lapic_addr;
707 706
708 set_fixmap_nocache(FIX_APIC_BASE, apic_phys); 707 set_fixmap_nocache(FIX_APIC_BASE, apic_phys);
709 apic_mapped = 1; 708 apic_printk(APIC_VERBOSE, "mapped APIC to %16lx (%16lx)\n",
710 apic_printk(APIC_VERBOSE,"mapped APIC to %16lx (%16lx)\n", APIC_BASE, apic_phys); 709 APIC_BASE, apic_phys);
711 710
712 /* Put local APIC into the resource map. */ 711 /* Put local APIC into the resource map. */
713 lapic_resource.start = apic_phys; 712 lapic_resource.start = apic_phys;