diff options
Diffstat (limited to 'arch/x86/include/asm/mach-default/mach_ipi.h')
-rw-r--r-- | arch/x86/include/asm/mach-default/mach_ipi.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/x86/include/asm/mach-default/mach_ipi.h b/arch/x86/include/asm/mach-default/mach_ipi.h index 9353ab854a10..191312d155da 100644 --- a/arch/x86/include/asm/mach-default/mach_ipi.h +++ b/arch/x86/include/asm/mach-default/mach_ipi.h | |||
@@ -4,8 +4,8 @@ | |||
4 | /* Avoid include hell */ | 4 | /* Avoid include hell */ |
5 | #define NMI_VECTOR 0x02 | 5 | #define NMI_VECTOR 0x02 |
6 | 6 | ||
7 | void send_IPI_mask_bitmask(const cpumask_t *mask, int vector); | 7 | void send_IPI_mask_bitmask(const struct cpumask *mask, int vector); |
8 | void send_IPI_mask_allbutself(const cpumask_t *mask, int vector); | 8 | void send_IPI_mask_allbutself(const struct cpumask *mask, int vector); |
9 | void __send_IPI_shortcut(unsigned int shortcut, int vector); | 9 | void __send_IPI_shortcut(unsigned int shortcut, int vector); |
10 | 10 | ||
11 | extern int no_broadcast; | 11 | extern int no_broadcast; |
@@ -15,17 +15,17 @@ extern int no_broadcast; | |||
15 | #define send_IPI_mask (genapic->send_IPI_mask) | 15 | #define send_IPI_mask (genapic->send_IPI_mask) |
16 | #define send_IPI_mask_allbutself (genapic->send_IPI_mask_allbutself) | 16 | #define send_IPI_mask_allbutself (genapic->send_IPI_mask_allbutself) |
17 | #else | 17 | #else |
18 | static inline void send_IPI_mask(const cpumask_t *mask, int vector) | 18 | static inline void send_IPI_mask(const struct cpumask *mask, int vector) |
19 | { | 19 | { |
20 | send_IPI_mask_bitmask(mask, vector); | 20 | send_IPI_mask_bitmask(mask, vector); |
21 | } | 21 | } |
22 | void send_IPI_mask_allbutself(const cpumask_t *mask, int vector); | 22 | void send_IPI_mask_allbutself(const struct cpumask *mask, int vector); |
23 | #endif | 23 | #endif |
24 | 24 | ||
25 | static inline void __local_send_IPI_allbutself(int vector) | 25 | static inline void __local_send_IPI_allbutself(int vector) |
26 | { | 26 | { |
27 | if (no_broadcast || vector == NMI_VECTOR) | 27 | if (no_broadcast || vector == NMI_VECTOR) |
28 | send_IPI_mask_allbutself(&cpu_online_map, vector); | 28 | send_IPI_mask_allbutself(cpu_online_mask, vector); |
29 | else | 29 | else |
30 | __send_IPI_shortcut(APIC_DEST_ALLBUT, vector); | 30 | __send_IPI_shortcut(APIC_DEST_ALLBUT, vector); |
31 | } | 31 | } |
@@ -33,7 +33,7 @@ static inline void __local_send_IPI_allbutself(int vector) | |||
33 | static inline void __local_send_IPI_all(int vector) | 33 | static inline void __local_send_IPI_all(int vector) |
34 | { | 34 | { |
35 | if (no_broadcast || vector == NMI_VECTOR) | 35 | if (no_broadcast || vector == NMI_VECTOR) |
36 | send_IPI_mask(&cpu_online_map, vector); | 36 | send_IPI_mask(cpu_online_mask, vector); |
37 | else | 37 | else |
38 | __send_IPI_shortcut(APIC_DEST_ALLINC, vector); | 38 | __send_IPI_shortcut(APIC_DEST_ALLINC, vector); |
39 | } | 39 | } |