James Hogan 2ac21c6bc4 PM: Lock PM device list mutex in show_dev_hash()
Lock the PM device list mutex using device_pm_lock() and
device_pm_unlock() around the list iteration in show_dev_hash().

show_dev_hash() was reverse iterating dpm_list without first locking the
mutex that the functions in drivers/base/power/main.c lock. I assume
this was unintentional since there is no comment suggesting why the lock
might not be necessary.

Signed-off-by: James Hogan <james@albanarts.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
2010-10-17 01:57:50 +02:00
..
2010-10-08 22:37:46 -04:00
2010-09-28 23:30:38 -04:00
2010-10-13 15:43:10 -07:00
2010-10-08 22:16:27 -04:00
2010-10-08 10:21:22 -07:00
2010-09-19 22:43:42 -04:00
2010-08-24 15:28:28 +10:00
2010-10-07 12:02:50 +11:00
2010-09-29 13:17:56 -07:00
2010-09-26 15:54:25 +02:00
2010-09-22 16:21:33 +02:00