aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-bcm/bcm_kona_smc.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-bcm/bcm_kona_smc.c b/arch/arm/mach-bcm/bcm_kona_smc.c
index 47cf360f985b..6fdcf96ca54e 100644
--- a/arch/arm/mach-bcm/bcm_kona_smc.c
+++ b/arch/arm/mach-bcm/bcm_kona_smc.c
@@ -114,12 +114,7 @@ unsigned bcm_kona_smc(unsigned service_id, unsigned arg0, unsigned arg1,
114 * Due to a limitation of the secure monitor, we must use the SMP 114 * Due to a limitation of the secure monitor, we must use the SMP
115 * infrastructure to forward all secure monitor calls to Core 0. 115 * infrastructure to forward all secure monitor calls to Core 0.
116 */ 116 */
117 if (get_cpu() != 0) 117 smp_call_function_single(0, __bcm_kona_smc, &data, 1);
118 smp_call_function_single(0, __bcm_kona_smc, (void *)&data, 1);
119 else
120 __bcm_kona_smc(&data);
121
122 put_cpu();
123 118
124 return data.result; 119 return data.result;
125} 120}