Merge branch 'i2c-next' of git://aeryn.fluff.org.uk/bjdooks/linux
[linux-2.6] / arch / x86 / include / asm / bigsmp / ipi.h
1 #ifndef __ASM_MACH_IPI_H
2 #define __ASM_MACH_IPI_H
3
4 void send_IPI_mask_sequence(const struct cpumask *mask, int vector);
5 void send_IPI_mask_allbutself(const struct cpumask *mask, int vector);
6
7 static inline void send_IPI_mask(const struct cpumask *mask, int vector)
8 {
9         send_IPI_mask_sequence(mask, vector);
10 }
11
12 static inline void send_IPI_allbutself(int vector)
13 {
14         send_IPI_mask_allbutself(cpu_online_mask, vector);
15 }
16
17 static inline void send_IPI_all(int vector)
18 {
19         send_IPI_mask(cpu_online_mask, vector);
20 }
21
22 #endif /* __ASM_MACH_IPI_H */