ACPI/PCI: Fix possible race condition on _OSC evaluation
authorTaku Izumi <izumi.taku@jp.fujitsu.com>
Fri, 17 Oct 2008 04:48:36 +0000 (13:48 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 22 Oct 2008 23:42:33 +0000 (16:42 -0700)
commit9778c14b4ca2c81e437fc2fd2b1f3d676937db27
treeecd32dcf1fae311e7caaa400f492051aeb2c66a1
parent2515ddc6db8eb49a79f0fe5e67ff09ac7c81eab4
ACPI/PCI: Fix possible race condition on _OSC evaluation

Fix possible race condition on _OSC evaluation.

Current _OSC evaluation code has possible race condition because it
maniputes osc_data linked list or its contents without any lock
mechanism.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci-acpi.c