aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-03-25 12:28:56 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:41:30 -0400
commit5af5573ee06c361378e22a9dd71dae0320e841f7 (patch)
treeaf9b79f408455b66c61b6a0ed6ccffa60811534a /arch
parent8346ea17aa20e9864b0f7dc03d55f3cd5620b8c1 (diff)
x86: move ipi definitions to mach_ipi.h
take them out of the x86_64-only asm/mach_apic.h Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/apic_64.c2
-rw-r--r--arch/x86/kernel/crash.c4
-rw-r--r--arch/x86/kernel/io_apic_64.c2
-rw-r--r--arch/x86/kernel/smp.c6
-rw-r--r--arch/x86/kernel/tlb_64.c3
5 files changed, 7 insertions, 10 deletions
diff --git a/arch/x86/kernel/apic_64.c b/arch/x86/kernel/apic_64.c
index 5362cfd30ecd..206278f1c6f4 100644
--- a/arch/x86/kernel/apic_64.c
+++ b/arch/x86/kernel/apic_64.c
@@ -41,6 +41,8 @@
41#include <asm/timex.h> 41#include <asm/timex.h>
42#include <asm/apic.h> 42#include <asm/apic.h>
43 43
44#include <mach_ipi.h>
45
44int disable_apic_timer __cpuinitdata; 46int disable_apic_timer __cpuinitdata;
45static int apic_calibrate_pmtmr __initdata; 47static int apic_calibrate_pmtmr __initdata;
46int disable_apic; 48int disable_apic;
diff --git a/arch/x86/kernel/crash.c b/arch/x86/kernel/crash.c
index 9a5fa0abfcc7..2251d0ae9570 100644
--- a/arch/x86/kernel/crash.c
+++ b/arch/x86/kernel/crash.c
@@ -26,11 +26,7 @@
26#include <linux/kdebug.h> 26#include <linux/kdebug.h>
27#include <asm/smp.h> 27#include <asm/smp.h>
28 28
29#ifdef CONFIG_X86_32
30#include <mach_ipi.h> 29#include <mach_ipi.h>
31#else
32#include <asm/mach_apic.h>
33#endif
34 30
35/* This keeps a track of which one is crashing cpu. */ 31/* This keeps a track of which one is crashing cpu. */
36static int crashing_cpu; 32static int crashing_cpu;
diff --git a/arch/x86/kernel/io_apic_64.c b/arch/x86/kernel/io_apic_64.c
index 1627c0d53e0b..7d5cdf320eba 100644
--- a/arch/x86/kernel/io_apic_64.c
+++ b/arch/x86/kernel/io_apic_64.c
@@ -50,6 +50,8 @@
50#include <asm/msidef.h> 50#include <asm/msidef.h>
51#include <asm/hypertransport.h> 51#include <asm/hypertransport.h>
52 52
53#include <mach_ipi.h>
54
53struct irq_cfg { 55struct irq_cfg {
54 cpumask_t domain; 56 cpumask_t domain;
55 cpumask_t old_domain; 57 cpumask_t old_domain;
diff --git a/arch/x86/kernel/smp.c b/arch/x86/kernel/smp.c
index 16c52aaaca35..8f75893a6467 100644
--- a/arch/x86/kernel/smp.c
+++ b/arch/x86/kernel/smp.c
@@ -26,12 +26,8 @@
26#include <asm/tlbflush.h> 26#include <asm/tlbflush.h>
27#include <asm/mmu_context.h> 27#include <asm/mmu_context.h>
28#include <asm/proto.h> 28#include <asm/proto.h>
29#ifdef CONFIG_X86_32
30#include <mach_apic.h>
31#include <mach_ipi.h> 29#include <mach_ipi.h>
32#else 30#include <mach_apic.h>
33#include <asm/mach_apic.h>
34#endif
35/* 31/*
36 * Some notes on x86 processor bugs affecting SMP operation: 32 * Some notes on x86 processor bugs affecting SMP operation:
37 * 33 *
diff --git a/arch/x86/kernel/tlb_64.c b/arch/x86/kernel/tlb_64.c
index 615d84817758..1558e513757e 100644
--- a/arch/x86/kernel/tlb_64.c
+++ b/arch/x86/kernel/tlb_64.c
@@ -11,11 +11,12 @@
11#include <asm/mtrr.h> 11#include <asm/mtrr.h>
12#include <asm/pgalloc.h> 12#include <asm/pgalloc.h>
13#include <asm/tlbflush.h> 13#include <asm/tlbflush.h>
14#include <asm/mach_apic.h>
15#include <asm/mmu_context.h> 14#include <asm/mmu_context.h>
16#include <asm/proto.h> 15#include <asm/proto.h>
17#include <asm/apicdef.h> 16#include <asm/apicdef.h>
18#include <asm/idle.h> 17#include <asm/idle.h>
18
19#include <mach_ipi.h>
19/* 20/*
20 * Smarter SMP flushing macros. 21 * Smarter SMP flushing macros.
21 * c/o Linus Torvalds. 22 * c/o Linus Torvalds.