0001
0002
0003 #ifndef __ASM_CSKY_SMP_H
0004 #define __ASM_CSKY_SMP_H
0005
0006 #include <linux/cpumask.h>
0007 #include <linux/irqreturn.h>
0008 #include <linux/threads.h>
0009
0010 #ifdef CONFIG_SMP
0011
0012 void __init setup_smp(void);
0013
0014 void __init setup_smp_ipi(void);
0015
0016 void arch_send_call_function_ipi_mask(struct cpumask *mask);
0017
0018 void arch_send_call_function_single_ipi(int cpu);
0019
0020 void __init set_send_ipi(void (*func)(const struct cpumask *mask), int irq);
0021
0022 #define raw_smp_processor_id() (current_thread_info()->cpu)
0023
0024 int __cpu_disable(void);
0025
0026 void __cpu_die(unsigned int cpu);
0027
0028 #endif
0029
0030 #endif