diff options
author | Dan Williams <[email protected]> | 2012-03-10 23:28:46 -0800 |
---|---|---|
committer | Jeff Garzik <[email protected]> | 2012-04-12 15:57:51 -0400 |
commit | 85d6725b7c0d7e3fa4261fdd4c020be4224fc9f1 (patch) | |
tree | 359e39a0982124c9f630ff3928aaf6f75d8b7dd3 /tools/perf/scripts/python/sctop.py | |
parent | 99b80e97710ae2e53c951acfdd956e9f38e36646 (diff) |
libata: make ata_print_id atomic
This variable is incremented from multiple contexts (module_init via
libata-lldds and the libsas discovery thread). Make it atomic to head
off any chance of libsas and libata creating duplicate ids.
Acked-by: Jacek Danecki <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions