diff options
Diffstat (limited to 'arch/arm/mach-tango/setup.c')
| -rw-r--r-- | arch/arm/mach-tango/setup.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/mach-tango/setup.c b/arch/arm/mach-tango/setup.c index d86900550e63..f14b6c7d255b 100644 --- a/arch/arm/mach-tango/setup.c +++ b/arch/arm/mach-tango/setup.c | |||
| @@ -1,21 +1,7 @@ | |||
| 1 | #include <linux/smp.h> | ||
| 2 | #include <asm/mach/arch.h> | 1 | #include <asm/mach/arch.h> |
| 3 | #include <asm/hardware/cache-l2x0.h> | 2 | #include <asm/hardware/cache-l2x0.h> |
| 4 | #include "smc.h" | 3 | #include "smc.h" |
| 5 | 4 | ||
| 6 | static int tango4_boot_secondary(unsigned int cpu, struct task_struct *idle) | ||
| 7 | { | ||
| 8 | tango_set_aux_boot_addr(virt_to_phys(secondary_startup)); | ||
| 9 | tango_start_aux_core(cpu); | ||
| 10 | return 0; | ||
| 11 | } | ||
| 12 | |||
| 13 | static struct smp_operations tango4_smp_ops __initdata = { | ||
| 14 | .smp_boot_secondary = tango4_boot_secondary, | ||
| 15 | }; | ||
| 16 | |||
| 17 | CPU_METHOD_OF_DECLARE(tango4_smp, "sigma,tango4-smp", &tango4_smp_ops); | ||
| 18 | |||
| 19 | static void tango_l2c_write(unsigned long val, unsigned int reg) | 5 | static void tango_l2c_write(unsigned long val, unsigned int reg) |
| 20 | { | 6 | { |
| 21 | if (reg == L2X0_CTRL) | 7 | if (reg == L2X0_CTRL) |
