Commit 6781d948 authored by Ingo Molnar's avatar Ingo Molnar

x86, genapic: provide IPI callbacks unconditionally

64-bit x86 uses the IPI callbacks even on UP - so provide them
generally.
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 505deeb1
...@@ -73,7 +73,6 @@ struct genapic { ...@@ -73,7 +73,6 @@ struct genapic {
unsigned int (*cpu_mask_to_apicid_and)(const struct cpumask *cpumask, unsigned int (*cpu_mask_to_apicid_and)(const struct cpumask *cpumask,
const struct cpumask *andmask); const struct cpumask *andmask);
#ifdef CONFIG_SMP
/* ipi */ /* ipi */
void (*send_IPI_mask)(const struct cpumask *mask, int vector); void (*send_IPI_mask)(const struct cpumask *mask, int vector);
void (*send_IPI_mask_allbutself)(const struct cpumask *mask, void (*send_IPI_mask_allbutself)(const struct cpumask *mask,
...@@ -81,7 +80,7 @@ struct genapic { ...@@ -81,7 +80,7 @@ struct genapic {
void (*send_IPI_allbutself)(int vector); void (*send_IPI_allbutself)(int vector);
void (*send_IPI_all)(int vector); void (*send_IPI_all)(int vector);
void (*send_IPI_self)(int vector); void (*send_IPI_self)(int vector);
#endif
/* wakeup_secondary_cpu */ /* wakeup_secondary_cpu */
int (*wakeup_cpu)(int apicid, unsigned long start_eip); int (*wakeup_cpu)(int apicid, unsigned long start_eip);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment