ACPICA: Dispatcher: Fix interpreter locking around acpi_ev_initialize_region()
authorLv Zheng <zetalog@gmail.com>
Wed, 26 Oct 2016 07:42:01 +0000 (15:42 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 28 Oct 2016 23:57:43 +0000 (01:57 +0200)
commit8633db6b027952449e155a316f4ae3a530bbe18f
tree4e190d0de7e971105a5d3960c3f56a4d1e32ec57
parent8121aa26e32012ca89afafa5e503b879950ac0fe
ACPICA: Dispatcher: Fix interpreter locking around acpi_ev_initialize_region()

In the code path of acpi_ev_initialize_region(), there is namespace
modification code unlocked. This patch tunes the code to make sure
such modification are always locked.

Fixes: 74f51b80a0c4 (ACPICA: Namespace: Fix dynamic table loading issues)
Tested-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/dsinit.c
drivers/acpi/acpica/dsmethod.c
drivers/acpi/acpica/dswload2.c
drivers/acpi/acpica/evrgnini.c
drivers/acpi/acpica/nsload.c