Kenji Kaneshige dd5619cb44 pciehp - add missing locking
This patch fixes the problem that system will panic if multiple power
on/off operations are issued to the same slot in parallel. This
problem can be easily reproduced by commands below.

    # while true; do echo 1 > power; echo 0 > power; done &
    # while true; do echo 1 > power; echo 0 > power; done &

The cause is lack of locking for enable/disable operations. This patch
fixes this problem.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-10-18 11:36:10 -07:00
..
2006-10-18 11:36:10 -07:00
2005-10-18 08:26:15 -07:00
2006-09-26 17:43:53 -07:00
2006-10-04 07:55:30 -07:00
2006-10-11 11:14:23 -07:00
2006-10-04 07:55:30 -07:00
2006-09-26 17:43:53 -07:00
2006-09-26 17:43:53 -07:00
2006-09-26 17:43:52 -07:00
2006-09-26 17:43:53 -07:00
2006-10-01 00:39:17 -07:00
2006-09-26 17:43:54 -07:00