summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/acevents.h
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2016-11-30 15:21:12 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-12-01 14:28:22 +0100
commit760235cd6ca8ae0d7509055d75a0f1d8b3c60668 (patch)
treeaa8e4b03a54779837394c303b22077e538e8d9a0 /drivers/acpi/acpica/acevents.h
parentf7cc87413b389c49e5bbc93aa65e6e67f475fb78 (diff)
downloadlinux-760235cd6ca8ae0d7509055d75a0f1d8b3c60668.tar.bz2
ACPICA: Events: Fix acpi_ev_initialize_region() return value
ACPICA commit 543342ab7a676f4eb0c9f100d349388a84dff0e8 This patch changes acpi_ev_initialize_region(), stop returning AE_NOT_EXIST from it so that, not only in acpi_ds_load2_end_op(), but all places invoking this function won't emit exceptions. The exception can be seen in acpi_ds_initialize_objects() when certain table loading mode is chosen. This patch also removes useless acpi_ns_locked from acpi_ev_initialize_region() as this function will always be invoked with interpreter lock held now, and the lock granularity has been tuned to lock around _REG execution, thus it is now handled by acpi_ex_exit_interpreter(). Lv Zheng. Link: https://github.com/acpica/acpica/commit/543342ab 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>
Diffstat (limited to 'drivers/acpi/acpica/acevents.h')
-rw-r--r--drivers/acpi/acpica/acevents.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/acevents.h b/drivers/acpi/acpica/acevents.h
index 92fa47c6498c..8a0049d5cdf3 100644
--- a/drivers/acpi/acpica/acevents.h
+++ b/drivers/acpi/acpica/acevents.h
@@ -243,9 +243,7 @@ acpi_ev_default_region_setup(acpi_handle handle,
u32 function,
void *handler_context, void **region_context);
-acpi_status
-acpi_ev_initialize_region(union acpi_operand_object *region_obj,
- u8 acpi_ns_locked);
+acpi_status acpi_ev_initialize_region(union acpi_operand_object *region_obj);
/*
* evsci - SCI (System Control Interrupt) handling/dispatch