platsmp.c (9938b04472d5c59f8bd8152a548533a8599596a2) | platsmp.c (64fc2a947a9873700929ec0ef02b4654a04e0476) |
---|---|
1/* 2 * This file contains Xilinx specific SMP code, used to start up 3 * the second processor. 4 * 5 * Copyright (C) 2011-2013 Xilinx 6 * 7 * based on linux/arch/arm/mach-realview/platsmp.c 8 * --- 75 unchanged lines hidden (view full) --- 84 pr_warn("Can't start CPU%d: Wrong starting address %x\n", cpu, address); 85 86 return -1; 87} 88EXPORT_SYMBOL(zynq_cpun_start); 89 90static int zynq_boot_secondary(unsigned int cpu, struct task_struct *idle) 91{ | 1/* 2 * This file contains Xilinx specific SMP code, used to start up 3 * the second processor. 4 * 5 * Copyright (C) 2011-2013 Xilinx 6 * 7 * based on linux/arch/arm/mach-realview/platsmp.c 8 * --- 75 unchanged lines hidden (view full) --- 84 pr_warn("Can't start CPU%d: Wrong starting address %x\n", cpu, address); 85 86 return -1; 87} 88EXPORT_SYMBOL(zynq_cpun_start); 89 90static int zynq_boot_secondary(unsigned int cpu, struct task_struct *idle) 91{ |
92 return zynq_cpun_start(virt_to_phys(secondary_startup), cpu); | 92 return zynq_cpun_start(__pa_symbol(secondary_startup), cpu); |
93} 94 95/* 96 * Initialise the CPU possible map early - this describes the CPUs 97 * which may be present or become present in the system. 98 */ 99static void __init zynq_smp_init_cpus(void) 100{ --- 69 unchanged lines hidden --- | 93} 94 95/* 96 * Initialise the CPU possible map early - this describes the CPUs 97 * which may be present or become present in the system. 98 */ 99static void __init zynq_smp_init_cpus(void) 100{ --- 69 unchanged lines hidden --- |