Skip to content

Commit

Permalink
ACPICA: fix acpi_serialize hang regression
Browse files Browse the repository at this point in the history
http://bugzilla.kernel.org/show_bug.cgi?id=8171

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Bob Moore authored and Len Brown committed Jan 11, 2008
1 parent fd0b45d commit 014d433
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/acpi/events/evregion.c
Original file line number Diff line number Diff line change
Expand Up @@ -344,15 +344,15 @@ acpi_ev_address_space_dispatch(union acpi_operand_object *region_obj,
* setup will potentially execute control methods
* (e.g., _REG method for this region)
*/
acpi_ex_relinquish_interpreter();
acpi_ex_exit_interpreter();

status = region_setup(region_obj, ACPI_REGION_ACTIVATE,
handler_desc->address_space.context,
&region_context);

/* Re-enter the interpreter */

acpi_ex_reacquire_interpreter();
acpi_ex_enter_interpreter();

/* Check for failure of the Region Setup */

Expand Down Expand Up @@ -405,7 +405,7 @@ acpi_ev_address_space_dispatch(union acpi_operand_object *region_obj,
* exit the interpreter because the handler *might* block -- we don't
* know what it will do, so we can't hold the lock on the intepreter.
*/
acpi_ex_relinquish_interpreter();
acpi_ex_exit_interpreter();
}

/* Call the handler */
Expand All @@ -426,7 +426,7 @@ acpi_ev_address_space_dispatch(union acpi_operand_object *region_obj,
* We just returned from a non-default handler, we must re-enter the
* interpreter
*/
acpi_ex_reacquire_interpreter();
acpi_ex_enter_interpreter();
}

return_ACPI_STATUS(status);
Expand Down

0 comments on commit 014d433

Please sign in to comment.