x86, genapic: provide IPI callbacks unconditionally
authorIngo Molnar <mingo@elte.hu>
Tue, 27 Jan 2009 22:54:23 +0000 (23:54 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 28 Jan 2009 22:20:06 +0000 (23:20 +0100)
64-bit x86 uses the IPI callbacks even on UP - so provide them
generally.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/genapic.h

index 19a5193e9651cd67deb5d0eed6935580ae0e80e2..c27efde0523d041e666357cf01dff373f5c4d061 100644 (file)
@@ -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);