1 #include <linux/linkage.h>
2 #include <linux/sched.h>
9 #define LAUNCHSTACK_SIZE 256
19 static void __init prom_smp_bootstrap(
void)
30 :
"r" (secondary_sp),
"r" (secondary_gp));
77 static void yos_send_ipi_single(
int cpu,
unsigned int action)
104 static void yos_send_ipi_mask(
const struct cpumask *
mask,
unsigned int action)
109 yos_send_ipi_single(i, action);
116 static
void __cpuinit yos_init_secondary(
void)
120 static void __cpuinit yos_smp_finish(
void)
126 static void yos_cpus_done(
void)
154 static void __init yos_smp_setup(
void)
160 for (i = 0; i < 2; i++) {
167 static void __init yos_prepare_cpus(
unsigned int max_cpus)
177 .send_ipi_single = yos_send_ipi_single,
178 .send_ipi_mask = yos_send_ipi_mask,
179 .init_secondary = yos_init_secondary,
180 .smp_finish = yos_smp_finish,
181 .cpus_done = yos_cpus_done,
182 .boot_secondary = yos_boot_secondary,
183 .smp_setup = yos_smp_setup,
184 .prepare_cpus = yos_prepare_cpus,