Alex Elder 35138d52f1 ARM: bcm: don't special-case CPU 0 in bcm_kona_smc()
There's logic in bcm_kona_smc() to ensure __bcm_kona_smc() gets
called on CPU 0; if already executing on CPU 0, that function is
called directly.  The direct call is not protected from interrupts,
however, which is not safe.

Note that smp_call_function_single() is designed to handle the case
where the target cpu is the current one.  It also gets a reference
to the CPU and disables IRQs across the call.

So we can simplify things and at the same time be protected against
interrupts by calling smp_call_function_single() unconditionally.

Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Tim Kryger <tim.kryger@linaro.org>
Reviewed-by: Markus Mayer <markus.mayer@linaro.org>
Reviewed-by: Matt Porter <mporter@linaro.org>
Signed-off-by: Matt Porter <mporter@linaro.org>
2014-04-25 08:51:34 -04:00
..
2014-04-18 16:40:08 -07:00
2014-04-05 15:37:40 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 14:19:54 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 15:37:40 -07:00
2014-04-05 15:37:40 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 15:46:37 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 14:19:54 -07:00
2014-04-05 15:46:37 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 15:37:40 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 14:19:54 -07:00
2014-04-05 15:37:40 -07:00
2014-04-05 14:19:54 -07:00
2014-04-05 15:29:04 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 13:51:19 -07:00
2014-04-07 10:47:51 -07:00
2014-04-05 15:37:40 -07:00
2014-04-05 18:32:31 -07:00
2014-04-05 13:51:19 -07:00
2014-03-09 12:03:18 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 15:46:37 -07:00
2014-04-05 15:46:37 -07:00
2014-04-05 15:46:37 -07:00
2014-04-05 15:46:37 -07:00
2014-04-05 13:51:19 -07:00
2014-04-18 16:40:08 -07:00
2014-04-05 14:19:54 -07:00
2014-04-05 14:19:54 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 15:29:04 -07:00
2014-04-05 15:37:40 -07:00
2014-04-05 13:51:19 -07:00
2014-04-05 15:46:37 -07:00
2014-04-05 15:29:04 -07:00
2014-04-05 15:37:40 -07:00
2014-04-05 15:46:37 -07:00
2014-04-05 13:51:19 -07:00