diff options
author | Yanir Lubetkin <yanirx.lubetkin@intel.com> | 2015-06-10 01:15:05 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-06-26 12:38:28 +0300 |
commit | beb0a1520bec17cfaf0c3c77bbdd56cbf942883a (patch) | |
tree | a19acf66153d6745906588bf748e843e69f04a5d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 73cd63598dcbc95f51d5becf548e0643aa7a49fa (diff) | |
download | linux-beb0a1520bec17cfaf0c3c77bbdd56cbf942883a.tar.xz |
e1000e: fix locking issue with e1000e_disable_aspm
e1000e_disable_aspm called pci_disable_link_state_locked which requires
pci_bus_sem to be held, but is also called from places where this semaphore
was not previously acquired. This patch implements two flavors of
disable_aspm, one that acquires the lock, and the other (_locked) which
should be called when the semaphore is already acquired.
Signed-off-by: Yanir Lubetkin <yanirx.lubetkin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions