From: Kenji Kaneshige Date: Thu, 26 Jan 2006 01:00:33 +0000 (+0900) Subject: [PATCH] shpchp - bugfix: add missing serialization X-Git-Tag: v2.6.17-rc1~998^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef3be54777901e570185089f21fbe4498453f67e;p=pandora-kernel.git [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/ # 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed