aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-02-17 08:02:01 -0500
committerIngo Molnar <mingo@elte.hu>2009-02-17 11:52:44 -0500
commite641f5f525acb163ba71d92de79c9c7366deae03 (patch)
tree37425070d697506a34e4b56d6f868f03b9fa7300 /arch/x86/kernel
parent7b6aa335ca1a845c2262ec7a595b4521bca0f79d (diff)
x86, apic: remove duplicate asm/apic.h inclusions
Impact: cleanup Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r--arch/x86/kernel/acpi/boot.c1
-rw-r--r--arch/x86/kernel/apic.c1
-rw-r--r--arch/x86/kernel/cpu/amd.c2
-rw-r--r--arch/x86/kernel/cpu/common.c6
-rw-r--r--arch/x86/kernel/cpu/intel.c1
-rw-r--r--arch/x86/kernel/crash.c2
-rw-r--r--arch/x86/kernel/es7000_32.c1
-rw-r--r--arch/x86/kernel/irq_32.c1
-rw-r--r--arch/x86/kernel/numaq_32.c1
-rw-r--r--arch/x86/kernel/probe_32.c4
-rw-r--r--arch/x86/kernel/reboot.c2
-rw-r--r--arch/x86/kernel/setup.c1
-rw-r--r--arch/x86/kernel/smpboot.c1
-rw-r--r--arch/x86/kernel/summit_32.c1
-rw-r--r--arch/x86/kernel/tlb_uv.c2
-rw-r--r--arch/x86/kernel/visws_quirks.c7
16 files changed, 3 insertions, 31 deletions
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index 42814152c940..a18eb7ce2236 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -37,7 +37,6 @@
37#include <asm/pgtable.h> 37#include <asm/pgtable.h>
38#include <asm/io_apic.h> 38#include <asm/io_apic.h>
39#include <asm/apic.h> 39#include <asm/apic.h>
40#include <asm/apic.h>
41#include <asm/io.h> 40#include <asm/io.h>
42#include <asm/mpspec.h> 41#include <asm/mpspec.h>
43#include <asm/smp.h> 42#include <asm/smp.h>
diff --git a/arch/x86/kernel/apic.c b/arch/x86/kernel/apic.c
index 7db03a9b61dc..c12823eb55b5 100644
--- a/arch/x86/kernel/apic.c
+++ b/arch/x86/kernel/apic.c
@@ -36,7 +36,6 @@
36 36
37#include <asm/arch_hooks.h> 37#include <asm/arch_hooks.h>
38#include <asm/pgalloc.h> 38#include <asm/pgalloc.h>
39#include <asm/apic.h>
40#include <asm/atomic.h> 39#include <asm/atomic.h>
41#include <asm/mpspec.h> 40#include <asm/mpspec.h>
42#include <asm/i8253.h> 41#include <asm/i8253.h>
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index c94ba9311e65..25423a5b80ed 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -12,8 +12,6 @@
12# include <asm/cacheflush.h> 12# include <asm/cacheflush.h>
13#endif 13#endif
14 14
15#include <asm/apic.h>
16
17#include "cpu.h" 15#include "cpu.h"
18 16
19#ifdef CONFIG_X86_32 17#ifdef CONFIG_X86_32
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 41f3788ec9b9..826d5c876278 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -23,11 +23,9 @@
23#include <asm/smp.h> 23#include <asm/smp.h>
24#include <asm/cpu.h> 24#include <asm/cpu.h>
25#include <asm/cpumask.h> 25#include <asm/cpumask.h>
26#ifdef CONFIG_X86_LOCAL_APIC
27#include <asm/mpspec.h>
28#include <asm/apic.h>
29#include <asm/apic.h>
30#include <asm/apic.h> 26#include <asm/apic.h>
27
28#ifdef CONFIG_X86_LOCAL_APIC
31#include <asm/uv/uv.h> 29#include <asm/uv/uv.h>
32#endif 30#endif
33 31
diff --git a/arch/x86/kernel/cpu/intel.c b/arch/x86/kernel/cpu/intel.c
index 290f92e2b7c6..7aeef1d327b1 100644
--- a/arch/x86/kernel/cpu/intel.c
+++ b/arch/x86/kernel/cpu/intel.c
@@ -24,7 +24,6 @@
24#ifdef CONFIG_X86_LOCAL_APIC 24#ifdef CONFIG_X86_LOCAL_APIC
25#include <asm/mpspec.h> 25#include <asm/mpspec.h>
26#include <asm/apic.h> 26#include <asm/apic.h>
27#include <asm/apic.h>
28#endif 27#endif
29 28
30static void __cpuinit early_init_intel(struct cpuinfo_x86 *c) 29static void __cpuinit early_init_intel(struct cpuinfo_x86 *c)
diff --git a/arch/x86/kernel/crash.c b/arch/x86/kernel/crash.c
index 3340cc0f244e..ff958248e61d 100644
--- a/arch/x86/kernel/crash.c
+++ b/arch/x86/kernel/crash.c
@@ -28,8 +28,6 @@
28#include <asm/reboot.h> 28#include <asm/reboot.h>
29#include <asm/virtext.h> 29#include <asm/virtext.h>
30 30
31#include <asm/apic.h>
32
33 31
34#if defined(CONFIG_SMP) && defined(CONFIG_X86_LOCAL_APIC) 32#if defined(CONFIG_SMP) && defined(CONFIG_X86_LOCAL_APIC)
35 33
diff --git a/arch/x86/kernel/es7000_32.c b/arch/x86/kernel/es7000_32.c
index 6cdfb3e4dc33..352d870e5d55 100644
--- a/arch/x86/kernel/es7000_32.c
+++ b/arch/x86/kernel/es7000_32.c
@@ -387,7 +387,6 @@ void __init es7000_enable_apic_mode(void)
387#include <linux/threads.h> 387#include <linux/threads.h>
388#include <linux/cpumask.h> 388#include <linux/cpumask.h>
389#include <asm/mpspec.h> 389#include <asm/mpspec.h>
390#include <asm/apic.h>
391#include <asm/fixmap.h> 390#include <asm/fixmap.h>
392#include <asm/apicdef.h> 391#include <asm/apicdef.h>
393#include <linux/kernel.h> 392#include <linux/kernel.h>
diff --git a/arch/x86/kernel/irq_32.c b/arch/x86/kernel/irq_32.c
index e4ac7c80e2df..9dc6b2b24275 100644
--- a/arch/x86/kernel/irq_32.c
+++ b/arch/x86/kernel/irq_32.c
@@ -212,7 +212,6 @@ bool handle_irq(unsigned irq, struct pt_regs *regs)
212} 212}
213 213
214#ifdef CONFIG_HOTPLUG_CPU 214#ifdef CONFIG_HOTPLUG_CPU
215#include <asm/apic.h>
216 215
217/* A cpu has been removed from cpu_online_mask. Reset irq affinities. */ 216/* A cpu has been removed from cpu_online_mask. Reset irq affinities. */
218void fixup_irqs(void) 217void fixup_irqs(void)
diff --git a/arch/x86/kernel/numaq_32.c b/arch/x86/kernel/numaq_32.c
index 5a2d75d1fd44..40400a588454 100644
--- a/arch/x86/kernel/numaq_32.c
+++ b/arch/x86/kernel/numaq_32.c
@@ -301,7 +301,6 @@ int __init get_memcfg_numaq(void)
301#include <linux/threads.h> 301#include <linux/threads.h>
302#include <linux/cpumask.h> 302#include <linux/cpumask.h>
303#include <asm/mpspec.h> 303#include <asm/mpspec.h>
304#include <asm/apic.h>
305#include <asm/fixmap.h> 304#include <asm/fixmap.h>
306#include <asm/apicdef.h> 305#include <asm/apicdef.h>
307#include <asm/ipi.h> 306#include <asm/ipi.h>
diff --git a/arch/x86/kernel/probe_32.c b/arch/x86/kernel/probe_32.c
index be0d554984a7..fd1352ac909c 100644
--- a/arch/x86/kernel/probe_32.c
+++ b/arch/x86/kernel/probe_32.c
@@ -23,14 +23,12 @@
23#include <linux/threads.h> 23#include <linux/threads.h>
24#include <linux/cpumask.h> 24#include <linux/cpumask.h>
25#include <asm/mpspec.h> 25#include <asm/mpspec.h>
26#include <asm/apic.h>
27#include <asm/fixmap.h> 26#include <asm/fixmap.h>
28#include <asm/apicdef.h> 27#include <asm/apicdef.h>
29#include <linux/kernel.h> 28#include <linux/kernel.h>
30#include <linux/string.h> 29#include <linux/string.h>
31#include <linux/smp.h> 30#include <linux/smp.h>
32#include <linux/init.h> 31#include <linux/init.h>
33#include <asm/apic.h>
34#include <asm/ipi.h> 32#include <asm/ipi.h>
35 33
36#include <linux/smp.h> 34#include <linux/smp.h>
@@ -41,8 +39,6 @@
41#include <asm/e820.h> 39#include <asm/e820.h>
42#include <asm/setup.h> 40#include <asm/setup.h>
43 41
44#include <asm/apic.h>
45
46#ifdef CONFIG_HOTPLUG_CPU 42#ifdef CONFIG_HOTPLUG_CPU
47#define DEFAULT_SEND_IPI (1) 43#define DEFAULT_SEND_IPI (1)
48#else 44#else
diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c
index 7c8cd447d5ed..1cc18d439bbb 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -24,8 +24,6 @@
24# include <asm/iommu.h> 24# include <asm/iommu.h>
25#endif 25#endif
26 26
27#include <asm/apic.h>
28
29/* 27/*
30 * Power off function, if any 28 * Power off function, if any
31 */ 29 */
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index deaafd2693ee..b2da0b1d15e7 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -97,7 +97,6 @@
97#include <asm/mmu_context.h> 97#include <asm/mmu_context.h>
98#include <asm/proto.h> 98#include <asm/proto.h>
99 99
100#include <asm/apic.h>
101#include <asm/paravirt.h> 100#include <asm/paravirt.h>
102#include <asm/hypervisor.h> 101#include <asm/hypervisor.h>
103 102
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index 562a9fc3bc34..09e73876a44f 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -65,7 +65,6 @@
65#include <asm/uv/uv.h> 65#include <asm/uv/uv.h>
66#include <linux/mc146818rtc.h> 66#include <linux/mc146818rtc.h>
67 67
68#include <asm/apic.h>
69#include <asm/smpboot_hooks.h> 68#include <asm/smpboot_hooks.h>
70 69
71#ifdef CONFIG_X86_32 70#ifdef CONFIG_X86_32
diff --git a/arch/x86/kernel/summit_32.c b/arch/x86/kernel/summit_32.c
index eb31ba276bb3..577b0bd8e537 100644
--- a/arch/x86/kernel/summit_32.c
+++ b/arch/x86/kernel/summit_32.c
@@ -40,7 +40,6 @@
40#include <asm/mpspec.h> 40#include <asm/mpspec.h>
41#include <asm/apic.h> 41#include <asm/apic.h>
42#include <asm/smp.h> 42#include <asm/smp.h>
43#include <asm/apic.h>
44#include <asm/fixmap.h> 43#include <asm/fixmap.h>
45#include <asm/apicdef.h> 44#include <asm/apicdef.h>
46#include <asm/ipi.h> 45#include <asm/ipi.h>
diff --git a/arch/x86/kernel/tlb_uv.c b/arch/x86/kernel/tlb_uv.c
index 1a7dfa7cb525..f04549afcfe9 100644
--- a/arch/x86/kernel/tlb_uv.c
+++ b/arch/x86/kernel/tlb_uv.c
@@ -20,8 +20,6 @@
20#include <asm/tsc.h> 20#include <asm/tsc.h>
21#include <asm/irq_vectors.h> 21#include <asm/irq_vectors.h>
22 22
23#include <asm/apic.h>
24
25static struct bau_control **uv_bau_table_bases __read_mostly; 23static struct bau_control **uv_bau_table_bases __read_mostly;
26static int uv_bau_retry_limit __read_mostly; 24static int uv_bau_retry_limit __read_mostly;
27 25
diff --git a/arch/x86/kernel/visws_quirks.c b/arch/x86/kernel/visws_quirks.c
index 5264fea6c281..34199d30ff46 100644
--- a/arch/x86/kernel/visws_quirks.c
+++ b/arch/x86/kernel/visws_quirks.c
@@ -29,13 +29,10 @@
29#include <asm/fixmap.h> 29#include <asm/fixmap.h>
30#include <asm/reboot.h> 30#include <asm/reboot.h>
31#include <asm/setup.h> 31#include <asm/setup.h>
32#include <asm/apic.h>
32#include <asm/e820.h> 33#include <asm/e820.h>
33#include <asm/io.h> 34#include <asm/io.h>
34 35
35#include <asm/apic.h>
36
37#include <asm/apic.h>
38
39#include <linux/kernel_stat.h> 36#include <linux/kernel_stat.h>
40 37
41#include <asm/i8259.h> 38#include <asm/i8259.h>
@@ -49,8 +46,6 @@
49 46
50extern int no_broadcast; 47extern int no_broadcast;
51 48
52#include <asm/apic.h>
53
54char visws_board_type = -1; 49char visws_board_type = -1;
55char visws_board_rev = -1; 50char visws_board_rev = -1;
56 51