From: Kenji Kaneshige Date: Thu, 31 May 2007 16:43:34 +0000 (-0700) Subject: PCI: hotplug: pciehp: Fix possible race condition in writing slot X-Git-Tag: v2.6.23-rc1~1106^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f477836457730a2b925f625023ec4e5bf11015be;p=pandora-kernel.git PCI: hotplug: pciehp: Fix possible race condition in writing slot The slot control register is modified as follows: (1) Read the register value (2) Change the value (3) Write the value to the register Those must be done atomically, otherwise writing to control register would cause an unexpected result. Signed-off-by: Kenji Kaneshige Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed