aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorShinya Kuribayashi <[email protected]>2012-07-07 13:37:42 +0300
committerOhad Ben-Cohen <[email protected]>2012-07-07 22:35:30 +0300
commit476a7eeb60e70ddab138e7cb4bc44ef5ac20782e (patch)
tree294b3ca8b3a9e7eb043ff8fda4675c0479a52670 /tools/perf/util/scripting-engines/trace-event-python.c
parent6887a4131da3adaab011613776d865f4bcfb5678 (diff)
hwspinlock/core: use global ID to register hwspinlocks on multiple devices
Commit 300bab9770 (hwspinlock/core: register a bank of hwspinlocks in a single API call, 2011-09-06) introduced 'hwspin_lock_register_single()' to register numerous (a bank of) hwspinlock instances in a single API, 'hwspin_lock_register()'. At which time, 'hwspin_lock_register()' accidentally passes 'local IDs' to 'hwspin_lock_register_single()', despite that ..._single() requires 'global IDs' to register hwspinlocks. We have to convert into global IDs by supplying the missing 'base_id'. Cc: stable <[email protected]> Signed-off-by: Shinya Kuribayashi <[email protected]> [ohad: fix error path of hwspin_lock_register, too] Signed-off-by: Ohad Ben-Cohen <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions