diff options
author | Bob Moore <robert.moore@intel.com> | 2011-02-14 03:13:25 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-03-02 19:38:06 -0500 |
commit | ef09c4f578147464524041cbe3205bb25f900598 (patch) | |
tree | c4270c7cf7f257fad6d8e8e7f5107c54f9d9b8d6 /drivers/acpi/acpica/utglobal.c | |
parent | 47863b9cbec29f137b3a7718ec851be879b41137 (diff) |
ACPICA: Add mechanism to defer _REG methods for some installed handlers
The memory/io/pci/dataTable regions must always be available. For
any user installed handlers for these spaces, defer execution
of _REG methods until acpi_enable_subsystem. This prevents any
chicken/egg problems and ensures that no methods are executed
until all of these regions are ready and available.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/utglobal.c')
-rw-r--r-- | drivers/acpi/acpica/utglobal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/utglobal.c b/drivers/acpi/acpica/utglobal.c index fc9097821516..833a38a9c905 100644 --- a/drivers/acpi/acpica/utglobal.c +++ b/drivers/acpi/acpica/utglobal.c | |||
@@ -323,6 +323,7 @@ acpi_status acpi_ut_init_globals(void) | |||
323 | acpi_gbl_db_output_flags = ACPI_DB_CONSOLE_OUTPUT; | 323 | acpi_gbl_db_output_flags = ACPI_DB_CONSOLE_OUTPUT; |
324 | acpi_gbl_osi_data = 0; | 324 | acpi_gbl_osi_data = 0; |
325 | acpi_gbl_osi_mutex = NULL; | 325 | acpi_gbl_osi_mutex = NULL; |
326 | acpi_gbl_reg_methods_executed = FALSE; | ||
326 | 327 | ||
327 | /* Hardware oriented */ | 328 | /* Hardware oriented */ |
328 | 329 | ||