diff options
author | Tadeusz Struk <[email protected]> | 2016-07-06 17:14:47 -0400 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2016-07-12 10:46:24 -0400 |
commit | 98f179a5eaf77eaac49df3d0c217c6eaaba8c0db (patch) | |
tree | 4b15d13bca8be3cb662896164d3bf04bac91ede9 /tools/perf/util/trace-event-scripting.c | |
parent | 896ce45da2c2f4abc508d443fdecde7de0b3fa7e (diff) |
IB/hfi1: Fix sleep inside atomic issue in init_asic_data
The critical section should protect only the list traversal
and dd->asic_data modification, not the memory allocation.
The fix pulls the allocation out of the critical section.
Reviewed-by: Dennis Dalessandro <[email protected]>
Reviewed-by: Sebastian Sanchez <[email protected]>
Reviewed-by: Dean Luick <[email protected]>
Signed-off-by: Tadeusz Struk <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Mike Marciniszyn <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions