blob: a18d5a34e2f5738e4f62bd24bf8a0b9edff7a3e8 [file] [log] [blame]
Marc Gonzalezd6bd0572016-01-06 10:27:43 +01001#include <linux/init.h>
2#include <linux/smp.h>
3#include "smc.h"
4
5static 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
12static struct smp_operations tango_smp_ops __initdata = {
13 .smp_boot_secondary = tango_boot_secondary,
14};
15
16CPU_METHOD_OF_DECLARE(tango4_smp, "sigma,tango4-smp", &tango_smp_ops);