diff options
author | Lv Zheng <lv.zheng@intel.com> | 2013-08-08 03:29:46 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-08-13 07:13:09 -0400 |
commit | 2641f540800b47a1b9e9d8ce9d682fc15df088e2 (patch) | |
tree | 68033c6e7648ff842f102fd75a01849f4c577f39 /drivers/acpi | |
parent | bf0dd264b1207b090858e7847919af5f2e367d7c (diff) |
ACPICA: Fix divergences of the commit - ACPICA: Expose OSI version.
The original commit 242b2287cd7f27521c8b54a4101d569e53e7a0ca "ACPICA:
expose OSI version" triggers build errors in ACPICA when it is back
ported. The patch removes the divergences between Linux and upstream
ACPICA resulting from that.
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')
-rw-r--r-- | drivers/acpi/acpica/acglobal.h | 7 | ||||
-rw-r--r-- | drivers/acpi/acpica/utglobal.c | 1 |
2 files changed, 6 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/acglobal.h b/drivers/acpi/acpica/acglobal.h index b8d38117a20c..90e846f985fa 100644 --- a/drivers/acpi/acpica/acglobal.h +++ b/drivers/acpi/acpica/acglobal.h | |||
@@ -138,6 +138,12 @@ u8 ACPI_INIT_GLOBAL(acpi_gbl_disable_auto_repair, FALSE); | |||
138 | */ | 138 | */ |
139 | u8 ACPI_INIT_GLOBAL(acpi_gbl_disable_ssdt_table_load, FALSE); | 139 | u8 ACPI_INIT_GLOBAL(acpi_gbl_disable_ssdt_table_load, FALSE); |
140 | 140 | ||
141 | /* | ||
142 | * We keep track of the latest version of Windows that has been requested by | ||
143 | * the BIOS. | ||
144 | */ | ||
145 | u8 ACPI_INIT_GLOBAL(acpi_gbl_osi_data, 0); | ||
146 | |||
141 | /* acpi_gbl_FADT is a local copy of the FADT, converted to a common format. */ | 147 | /* acpi_gbl_FADT is a local copy of the FADT, converted to a common format. */ |
142 | 148 | ||
143 | struct acpi_table_fadt acpi_gbl_FADT; | 149 | struct acpi_table_fadt acpi_gbl_FADT; |
@@ -285,7 +291,6 @@ ACPI_EXTERN u8 acpi_gbl_debugger_configuration; | |||
285 | ACPI_EXTERN u8 acpi_gbl_step_to_next_call; | 291 | ACPI_EXTERN u8 acpi_gbl_step_to_next_call; |
286 | ACPI_EXTERN u8 acpi_gbl_acpi_hardware_present; | 292 | ACPI_EXTERN u8 acpi_gbl_acpi_hardware_present; |
287 | ACPI_EXTERN u8 acpi_gbl_events_initialized; | 293 | ACPI_EXTERN u8 acpi_gbl_events_initialized; |
288 | ACPI_EXTERN u8 acpi_gbl_osi_data; | ||
289 | ACPI_EXTERN struct acpi_interface_info *acpi_gbl_supported_interfaces; | 294 | ACPI_EXTERN struct acpi_interface_info *acpi_gbl_supported_interfaces; |
290 | ACPI_EXTERN struct acpi_address_range | 295 | ACPI_EXTERN struct acpi_address_range |
291 | *acpi_gbl_address_range_list[ACPI_ADDRESS_RANGE_MAX]; | 296 | *acpi_gbl_address_range_list[ACPI_ADDRESS_RANGE_MAX]; |
diff --git a/drivers/acpi/acpica/utglobal.c b/drivers/acpi/acpica/utglobal.c index f736448a8606..d6f26bf8a062 100644 --- a/drivers/acpi/acpica/utglobal.c +++ b/drivers/acpi/acpica/utglobal.c | |||
@@ -336,7 +336,6 @@ acpi_status acpi_ut_init_globals(void) | |||
336 | acpi_gbl_trace_dbg_layer = 0; | 336 | acpi_gbl_trace_dbg_layer = 0; |
337 | acpi_gbl_debugger_configuration = DEBUGGER_THREADING; | 337 | acpi_gbl_debugger_configuration = DEBUGGER_THREADING; |
338 | acpi_gbl_db_output_flags = ACPI_DB_CONSOLE_OUTPUT; | 338 | acpi_gbl_db_output_flags = ACPI_DB_CONSOLE_OUTPUT; |
339 | acpi_gbl_osi_data = 0; | ||
340 | acpi_gbl_osi_mutex = NULL; | 339 | acpi_gbl_osi_mutex = NULL; |
341 | acpi_gbl_reg_methods_executed = FALSE; | 340 | acpi_gbl_reg_methods_executed = FALSE; |
342 | 341 | ||