summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/genapic.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-27 23:54:23 +0100
committerIngo Molnar <mingo@elte.hu>2009-01-28 23:20:06 +0100
commit6781d948cc05b02df915650f2eb49550a1631df9 (patch)
treea66ca28b514ab24559a7a9f5b49fc481722c5612 /arch/x86/include/asm/genapic.h
parent505deeb1a228e5b0bf6ac5d0d78f4a4253a9efe9 (diff)
downloadop-kernel-dev-6781d948cc05b02df915650f2eb49550a1631df9.zip
op-kernel-dev-6781d948cc05b02df915650f2eb49550a1631df9.tar.gz
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/x86/include/asm/genapic.h')
-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 19a5193..c27efde 100644
--- a/arch/x86/include/asm/genapic.h
+++ b/arch/x86/include/asm/genapic.h
@@ -73,7 +73,6 @@ struct genapic {
unsigned int (*cpu_mask_to_apicid_and)(const struct cpumask *cpumask,
const struct cpumask *andmask);
-#ifdef CONFIG_SMP
/* ipi */
void (*send_IPI_mask)(const struct cpumask *mask, int vector);
void (*send_IPI_mask_allbutself)(const struct cpumask *mask,
@@ -81,7 +80,7 @@ struct genapic {
void (*send_IPI_allbutself)(int vector);
void (*send_IPI_all)(int vector);
void (*send_IPI_self)(int vector);
-#endif
+
/* wakeup_secondary_cpu */
int (*wakeup_cpu)(int apicid, unsigned long start_eip);
OpenPOWER on IntegriCloud