diff options
| author | Kenji Kaneshige <[email protected]> | 2006-01-26 10:00:33 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2006-03-23 14:35:11 -0800 |
| commit | ef3be54777901e570185089f21fbe4498453f67e (patch) | |
| tree | 6b03aacd9c9c99ec2160014e0d64415893f6f9f7 /scripts/basic/split-include.c | |
| parent | d29aaddab3ef3bdaecf3c9c6d9423f0bf0452ccf (diff) | |
[PATCH] shpchp - bugfix: add missing serialization
Current shpchp driver might cause system panic because of lack of
serialization. It can be reproduced very easily by the following
operation.
# cd /sys/bus/pci/slots/<slot#>
# while true; do echo 0 > power ; echo 1 > power ; done &
# while true; do echo 0 > power ; echo 1 > power ; done &
This patch fixes this issue by changing shpchp to get appropreate
semaphore for hot-plug operation.
Signed-off-by: Kenji Kaneshige <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions