aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorAlex Elder <[email protected]>2014-04-21 16:53:06 -0500
committerMatt Porter <[email protected]>2014-04-25 08:51:34 -0400
commit35138d52f18c3f757f12d54c0962a755bcf218f3 (patch)
tree9f54b9de887b4dfb54d89c68899db79c4eb2d193 /tools/perf/scripts/python/syscall-counts.py
parent6c90f10864d1f7492ebe4c90465a9c9797ce649e (diff)
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 <[email protected]> Reviewed-by: Tim Kryger <[email protected]> Reviewed-by: Markus Mayer <[email protected]> Reviewed-by: Matt Porter <[email protected]> Signed-off-by: Matt Porter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions