1 #ifndef __ASM_SUMMIT_IPI_H
2 #define __ASM_SUMMIT_IPI_H
4 void send_IPI_mask_sequence(const cpumask_t
*mask
, int vector
);
5 void send_IPI_mask_allbutself(const cpumask_t
*mask
, int vector
);
7 static inline void send_IPI_mask(const cpumask_t
*mask
, int vector
)
9 send_IPI_mask_sequence(mask
, vector
);
12 static inline void send_IPI_allbutself(int vector
)
14 cpumask_t mask
= cpu_online_map
;
15 cpu_clear(smp_processor_id(), mask
);
17 if (!cpus_empty(mask
))
18 send_IPI_mask(&mask
, vector
);
21 static inline void send_IPI_all(int vector
)
23 send_IPI_mask(&cpu_online_map
, vector
);
26 #endif /* __ASM_SUMMIT_IPI_H */