aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <[email protected]>2016-03-06 06:45:07 +0530
committerGreg Kroah-Hartman <[email protected]>2016-03-11 22:09:09 -0800
commitc943e13bd2bf4c344c3fe43ef39f07b57eff715e (patch)
treef0e98151b69e791ed9737c7055adf834d98f03a1 /tools/perf/scripts/python/export-to-postgresql.py
parentb33061fbcdb959a5cee024b052b6a64d7ccd0654 (diff)
staging: speakup: Replace del_timer with del_timer_sync
Use del_timer_sync to ensure timer is stopped on all CPUs before the driver exists and the timer should not run when the module is being removed. Since the timer is not called from an interrupt context, this change is safe and will not cause deadlock. The Coccinelle semantic patch used to make this change is as follows: // <smpl> @r@ declarer name module_exit; identifier ex; @@ module_exit(ex); @@ identifier r.ex; @@ ex(...) { <... - del_timer + del_timer_sync (...) ...> } // </smpl> Signed-off-by: Amitoj Kaur Chawla <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions