Graf Yang | c51b448 | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 1 | #ifndef _MACH_BF561_SMP |
| 2 | #define _MACH_BF561_SMP |
| 3 | |
| 4 | struct task_struct; |
| 5 | |
| 6 | void platform_init_cpus(void); |
| 7 | |
| 8 | void platform_prepare_cpus(unsigned int max_cpus); |
| 9 | |
| 10 | int platform_boot_secondary(unsigned int cpu, struct task_struct *idle); |
| 11 | |
| 12 | void platform_secondary_init(unsigned int cpu); |
| 13 | |
| 14 | void platform_request_ipi(int (*handler)(int, void *)); |
| 15 | |
| 16 | void platform_send_ipi(cpumask_t callmap); |
| 17 | |
| 18 | void platform_send_ipi_cpu(unsigned int cpu); |
| 19 | |
| 20 | void platform_clear_ipi(unsigned int cpu); |
| 21 | |
| 22 | #endif /* !_MACH_BF561_SMP */ |