x86: remove include of apic.h from hardirq_64.h
authorBrian Gerst <brgerst@gmail.com>
Fri, 23 Jan 2009 02:03:29 +0000 (11:03 +0900)
committerTejun Heo <tj@kernel.org>
Fri, 23 Jan 2009 02:03:29 +0000 (11:03 +0900)
Impact: cleanup

APIC definitions aren't needed here.  Remove the include and fix
up the fallout.

tj: added include to mce_intel_64.c.

Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
arch/x86/include/asm/hardirq_64.h
arch/x86/kernel/cpu/mcheck/mce_intel_64.c
arch/x86/kernel/efi_64.c
arch/x86/kernel/irq_64.c

index a65bab2..873c3c7 100644 (file)
@@ -3,7 +3,6 @@
 
 #include <linux/threads.h>
 #include <linux/irq.h>
-#include <asm/apic.h>
 
 typedef struct {
        unsigned int __softirq_pending;
index 4b48f25..5e8c79e 100644 (file)
@@ -7,6 +7,7 @@
 #include <linux/interrupt.h>
 #include <linux/percpu.h>
 #include <asm/processor.h>
+#include <asm/apic.h>
 #include <asm/msr.h>
 #include <asm/mce.h>
 #include <asm/hw_irq.h>
index 652c528..a4ee291 100644 (file)
@@ -36,6 +36,7 @@
 #include <asm/proto.h>
 #include <asm/efi.h>
 #include <asm/cacheflush.h>
+#include <asm/fixmap.h>
 
 static pgd_t save_pgd __initdata;
 static unsigned long efi_flags __initdata;
index 0b254de..018963a 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/smp.h>
 #include <asm/io_apic.h>
 #include <asm/idle.h>
+#include <asm/apic.h>
 
 DEFINE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat);
 EXPORT_PER_CPU_SYMBOL(irq_stat);