]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - arch/arm/mach-tango/platsmp.c
Merge remote-tracking branches 'asoc/topic/atmel', 'asoc/topic/bcm2835' and 'asoc...
[mirror_ubuntu-zesty-kernel.git] / arch / arm / mach-tango / platsmp.c
CommitLineData
d6bd0579
MG
1#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
c38ac80e 12static const struct smp_operations tango_smp_ops __initconst = {
d6bd0579
MG
13 .smp_boot_secondary = tango_boot_secondary,
14};
15
16CPU_METHOD_OF_DECLARE(tango4_smp, "sigma,tango4-smp", &tango_smp_ops);