ACPI: Create symlinks in acpi_bind_one() under physical_node_lock
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 6 Aug 2013 23:19:37 +0000 (01:19 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 7 Aug 2013 21:41:47 +0000 (23:41 +0200)
commit4005520648c7d6cf28e74addb52bc4a793eea3eb
tree6908b1a34e283d6854134ac35c75b7ad5c97d47e
parentbdbdbf91081250657d018fc66d7cd0c07f337070
ACPI: Create symlinks in acpi_bind_one() under physical_node_lock

Put the creation of symlinks in acpi_bind_one() under the
physical_node_lock mutex of the given ACPI device object, because
that is part of the binding operation logically (those links are
already removed under that mutex too).

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Toshi Kani <toshi.kani@hp.com>
Acked-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
drivers/acpi/glue.c