Skip to content

Commit

Permalink
x86, genapic: provide IPI callbacks unconditionally
Browse files Browse the repository at this point in the history
64-bit x86 uses the IPI callbacks even on UP - so provide them
generally.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Jan 28, 2009
1 parent 505deeb commit 6781d94
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/x86/include/asm/genapic.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,14 @@ 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,
int vector);
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);

Expand Down

0 comments on commit 6781d94

Please sign in to comment.