aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-27 17:54:23 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-28 17:20:06 -0500
commit6781d948cc05b02df915650f2eb49550a1631df9 (patch)
treea66ca28b514ab24559a7a9f5b49fc481722c5612 /arch
parent505deeb1a228e5b0bf6ac5d0d78f4a4253a9efe9 (diff)
x86, genapic: provide IPI callbacks unconditionally
64-bit x86 uses the IPI callbacks even on UP - so provide them generally. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/include/asm/genapic.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/include/asm/genapic.h b/arch/x86/include/asm/genapic.h
index 19a5193e9651..c27efde0523d 100644
--- a/arch/x86/include/asm/genapic.h
+++ b/arch/x86/include/asm/genapic.h
@@ -73,7 +73,6 @@ struct genapic {
73 unsigned int (*cpu_mask_to_apicid_and)(const struct cpumask *cpumask, 73 unsigned int (*cpu_mask_to_apicid_and)(const struct cpumask *cpumask,
74 const struct cpumask *andmask); 74 const struct cpumask *andmask);
75 75
76#ifdef CONFIG_SMP
77 /* ipi */ 76 /* ipi */
78 void (*send_IPI_mask)(const struct cpumask *mask, int vector); 77 void (*send_IPI_mask)(const struct cpumask *mask, int vector);
79 void (*send_IPI_mask_allbutself)(const struct cpumask *mask, 78 void (*send_IPI_mask_allbutself)(const struct cpumask *mask,
@@ -81,7 +80,7 @@ struct genapic {
81 void (*send_IPI_allbutself)(int vector); 80 void (*send_IPI_allbutself)(int vector);
82 void (*send_IPI_all)(int vector); 81 void (*send_IPI_all)(int vector);
83 void (*send_IPI_self)(int vector); 82 void (*send_IPI_self)(int vector);
84#endif 83
85 /* wakeup_secondary_cpu */ 84 /* wakeup_secondary_cpu */
86 int (*wakeup_cpu)(int apicid, unsigned long start_eip); 85 int (*wakeup_cpu)(int apicid, unsigned long start_eip);
87 86