提交 7ffeeb1e 编写于 作者: Y Yinghai Lu 提交者: Thomas Gleixner

x86: remove never used apic_mapped

[ tglx: arch/x86 adaptation ]
Signed-off-by: NYinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: NAndi Kleen <ak@suse.de>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
Signed-off-by: NArjan van de Ven <arjan@linux.intel.com>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 0190dae5
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
#include <asm/hpet.h> #include <asm/hpet.h>
#include <asm/apic.h> #include <asm/apic.h>
int apic_mapped;
int apic_verbosity; int apic_verbosity;
int apic_runs_main_timer; int apic_runs_main_timer;
int apic_calibrate_pmtmr __initdata; int apic_calibrate_pmtmr __initdata;
...@@ -706,8 +705,8 @@ void __init init_apic_mappings(void) ...@@ -706,8 +705,8 @@ void __init init_apic_mappings(void)
apic_phys = mp_lapic_addr; apic_phys = mp_lapic_addr;
set_fixmap_nocache(FIX_APIC_BASE, apic_phys); set_fixmap_nocache(FIX_APIC_BASE, apic_phys);
apic_mapped = 1; apic_printk(APIC_VERBOSE, "mapped APIC to %16lx (%16lx)\n",
apic_printk(APIC_VERBOSE,"mapped APIC to %16lx (%16lx)\n", APIC_BASE, apic_phys); APIC_BASE, apic_phys);
/* Put local APIC into the resource map. */ /* Put local APIC into the resource map. */
lapic_resource.start = apic_phys; lapic_resource.start = apic_phys;
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
extern int apic_verbosity; extern int apic_verbosity;
extern int apic_runs_main_timer; extern int apic_runs_main_timer;
extern int ioapic_force; extern int ioapic_force;
extern int apic_mapped;
/* /*
* Define the default level of output to be very little * Define the default level of output to be very little
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册