Commit | Line | Data |
---|---|---|
d6bd0579 MG |
1 | #include <linux/init.h> |
2 | #include <linux/smp.h> | |
3 | #include "smc.h" | |
4 | ||
5 | static int tango_boot_secondary(unsigned int cpu, struct task_struct *idle) | |
6 | { | |
7 | tango_set_aux_boot_addr(virt_to_phys(secondary_startup)); | |
8 | tango_start_aux_core(cpu); | |
9 | return 0; | |
10 | } | |
11 | ||
c38ac80e | 12 | static const struct smp_operations tango_smp_ops __initconst = { |
d6bd0579 MG |
13 | .smp_boot_secondary = tango_boot_secondary, |
14 | }; | |
15 | ||
16 | CPU_METHOD_OF_DECLARE(tango4_smp, "sigma,tango4-smp", &tango_smp_ops); |