platsmp.c (9938b04472d5c59f8bd8152a548533a8599596a2) | platsmp.c (64fc2a947a9873700929ec0ef02b4654a04e0476) |
---|---|
1/* 2 * Copyright (C) 2014 Marvell Technology Group Ltd. 3 * 4 * Antoine Ténart <antoine.tenart@free-electrons.com> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 78 unchanged lines hidden (view full) --- 87 * in the reset exception vector. 88 */ 89 writel(boot_inst, vectors_base + RESET_VECT); 90 91 /* 92 * Write the secondary startup address into the SW reset address 93 * vector. This is used by boot_inst. 94 */ | 1/* 2 * Copyright (C) 2014 Marvell Technology Group Ltd. 3 * 4 * Antoine Ténart <antoine.tenart@free-electrons.com> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 78 unchanged lines hidden (view full) --- 87 * in the reset exception vector. 88 */ 89 writel(boot_inst, vectors_base + RESET_VECT); 90 91 /* 92 * Write the secondary startup address into the SW reset address 93 * vector. This is used by boot_inst. 94 */ |
95 writel(virt_to_phys(secondary_startup), vectors_base + SW_RESET_ADDR); | 95 writel(__pa_symbol(secondary_startup), vectors_base + SW_RESET_ADDR); |
96 97 iounmap(vectors_base); 98unmap_scu: 99 iounmap(scu_base); 100} 101 102#ifdef CONFIG_HOTPLUG_CPU 103static void berlin_cpu_die(unsigned int cpu) --- 27 unchanged lines hidden --- | 96 97 iounmap(vectors_base); 98unmap_scu: 99 iounmap(scu_base); 100} 101 102#ifdef CONFIG_HOTPLUG_CPU 103static void berlin_cpu_die(unsigned int cpu) --- 27 unchanged lines hidden --- |