platsmp.c (9938b04472d5c59f8bd8152a548533a8599596a2) | platsmp.c (64fc2a947a9873700929ec0ef02b4654a04e0476) |
---|---|
1/* 2 * arch/arm/mach-sti/platsmp.c 3 * 4 * Copyright (C) 2013 STMicroelectronics (R&D) Limited. 5 * http://www.st.com 6 * 7 * Cloned from linux/arch/arm/mach-vexpress/platsmp.c 8 * --- 89 unchanged lines hidden (view full) --- 98 99static void __init sti_smp_prepare_cpus(unsigned int max_cpus) 100{ 101 struct device_node *np; 102 void __iomem *scu_base; 103 u32 __iomem *cpu_strt_ptr; 104 u32 release_phys; 105 int cpu; | 1/* 2 * arch/arm/mach-sti/platsmp.c 3 * 4 * Copyright (C) 2013 STMicroelectronics (R&D) Limited. 5 * http://www.st.com 6 * 7 * Cloned from linux/arch/arm/mach-vexpress/platsmp.c 8 * --- 89 unchanged lines hidden (view full) --- 98 99static void __init sti_smp_prepare_cpus(unsigned int max_cpus) 100{ 101 struct device_node *np; 102 void __iomem *scu_base; 103 u32 __iomem *cpu_strt_ptr; 104 u32 release_phys; 105 int cpu; |
106 unsigned long entry_pa = virt_to_phys(sti_secondary_startup); | 106 unsigned long entry_pa = __pa_symbol(sti_secondary_startup); |
107 108 np = of_find_compatible_node(NULL, NULL, "arm,cortex-a9-scu"); 109 110 if (np) { 111 scu_base = of_iomap(np, 0); 112 scu_enable(scu_base); 113 of_node_put(np); 114 } --- 49 unchanged lines hidden --- | 107 108 np = of_find_compatible_node(NULL, NULL, "arm,cortex-a9-scu"); 109 110 if (np) { 111 scu_base = of_iomap(np, 0); 112 scu_enable(scu_base); 113 of_node_put(np); 114 } --- 49 unchanged lines hidden --- |