aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorDavid Lanzendörfer <[email protected]>2014-12-16 15:11:04 +0100
committerUlf Hansson <[email protected]>2015-01-19 09:56:09 +0100
commitdd9b38039262040c02286b82c413d30b8f0cc6af (patch)
treeddfd5db44c466ab453256a638735e1ea85e2b934 /tools/perf/scripts/python/syscall-counts.py
parente8a5904945ec4c37e468dfe0ef73418e8e63deef (diff)
mmc: sunxi: Lock fix
1) Adding a comment in order to clarify the choice of the locks within sunxi_mmc_handle_manual_stop 2) As <[email protected]> has pointed out the wait_dma variable was not accessed within the spin lock block in sunxi_mmc_request and so (even if it should never happend) it would have theoretically been possible that some other function would access the variable at the same time as the function. This has been changed now and the function is using local variables outside the lock and copys the value over during the lock phase. Signed-off-by: David Lanzendörfer <[email protected]> Reported-by: <[email protected]> Acked-by: Hans de Goede <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions