platsmp.c (8c57a5e7b2820f349c95b8c8393fec1e0f4070d2) | platsmp.c (64fc2a947a9873700929ec0ef02b4654a04e0476) |
---|---|
1/* 2 * arch/arm/mach-mediatek/platsmp.c 3 * 4 * Copyright (c) 2014 Mediatek Inc. 5 * Author: Shunli Wang <shunli.wang@mediatek.com> 6 * Yingjoe Chen <yingjoe.chen@mediatek.com> 7 * 8 * This program is free software; you can redistribute it and/or modify --- 108 unchanged lines hidden (view full) --- 117 return; 118 } 119 } 120 121 /* 122 * write the address of slave startup address into the system-wide 123 * jump register 124 */ | 1/* 2 * arch/arm/mach-mediatek/platsmp.c 3 * 4 * Copyright (c) 2014 Mediatek Inc. 5 * Author: Shunli Wang <shunli.wang@mediatek.com> 6 * Yingjoe Chen <yingjoe.chen@mediatek.com> 7 * 8 * This program is free software; you can redistribute it and/or modify --- 108 unchanged lines hidden (view full) --- 117 return; 118 } 119 } 120 121 /* 122 * write the address of slave startup address into the system-wide 123 * jump register 124 */ |
125 writel_relaxed(virt_to_phys(secondary_startup_arm), | 125 writel_relaxed(__pa_symbol(secondary_startup_arm), |
126 mtk_smp_base + mtk_smp_info->jump_reg); 127} 128 129static void __init mtk_tz_smp_prepare_cpus(unsigned int max_cpus) 130{ 131 __mtk_smp_prepare_cpus(max_cpus, 1); 132} 133 --- 16 unchanged lines hidden --- | 126 mtk_smp_base + mtk_smp_info->jump_reg); 127} 128 129static void __init mtk_tz_smp_prepare_cpus(unsigned int max_cpus) 130{ 131 __mtk_smp_prepare_cpus(max_cpus, 1); 132} 133 --- 16 unchanged lines hidden --- |