Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / arch / metag / include / asm / smp.h
1 #ifndef __ASM_SMP_H
2 #define __ASM_SMP_H
3
4 #include <linux/cpumask.h>
5
6 #define raw_smp_processor_id() (current_thread_info()->cpu)
7
8 enum ipi_msg_type {
9         IPI_CALL_FUNC,
10         IPI_RESCHEDULE,
11 };
12
13 extern void arch_send_call_function_single_ipi(int cpu);
14 extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);
15
16 asmlinkage void secondary_start_kernel(void);
17
18 extern void secondary_startup(void);
19
20 #ifdef CONFIG_HOTPLUG_CPU
21 extern void __cpu_die(unsigned int cpu);
22 extern int __cpu_disable(void);
23 extern void cpu_die(void);
24 #endif
25
26 extern void smp_init_cpus(void);
27 #endif /* __ASM_SMP_H */