ACPICA: Back port of "ACPICA: Dispatcher: Tune interpreter lock around AcpiEvInitiali...
authorLv Zheng <lv.zheng@intel.com>
Wed, 30 Nov 2016 07:20:59 +0000 (15:20 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 1 Dec 2016 13:27:56 +0000 (14:27 +0100)
ACPICA commit bc481e758e54f7644fd0b657119ca7763d8b6a9c

This is a back port result of the following commit:
  Commit: 8633db6b027952449e155a316f4ae3a530bbe18f
  Subject: ACPICA: Dispatcher: Fix interpreter locking around acpi_ev_initialize_region()

Link: https://github.com/acpica/acpica/commit/bc481e75
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/dsinit.c

index 54d48b90de2cd025710a71c03bcc88ea1ca75f32..5de3f10cab03bd315ad02d0f129e5ebed9bda524 100644 (file)
@@ -221,8 +221,8 @@ acpi_ds_initialize_objects(u32 table_index,
         */
        status =
            acpi_ns_walk_namespace(ACPI_TYPE_ANY, start_node, ACPI_UINT32_MAX,
-                                  0, acpi_ds_init_one_object, NULL, &info,
-                                  NULL);
+                                  ACPI_NS_WALK_NO_UNLOCK,
+                                  acpi_ds_init_one_object, NULL, &info, NULL);
        if (ACPI_FAILURE(status)) {
                ACPI_EXCEPTION((AE_INFO, status, "During WalkNamespace"));
        }