ipi.h 537 字节
Newer Older
Y
Yinghai Lu 已提交
1 2
#ifndef __ASM_MACH_IPI_H
#define __ASM_MACH_IPI_H
L
Linus Torvalds 已提交
3

4 5
void send_IPI_mask_sequence(const struct cpumask *mask, int vector);
void send_IPI_mask_allbutself(const struct cpumask *mask, int vector);
L
Linus Torvalds 已提交
6

7
static inline void send_IPI_mask(const struct cpumask *mask, int vector)
L
Linus Torvalds 已提交
8 9 10 11 12 13
{
	send_IPI_mask_sequence(mask, vector);
}

static inline void send_IPI_allbutself(int vector)
{
14
	send_IPI_mask_allbutself(cpu_online_mask, vector);
L
Linus Torvalds 已提交
15 16 17 18
}

static inline void send_IPI_all(int vector)
{
19
	send_IPI_mask(cpu_online_mask, vector);
L
Linus Torvalds 已提交
20 21
}

Y
Yinghai Lu 已提交
22
#endif /* __ASM_MACH_IPI_H */