aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/tbinstal.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-03-20 08:25:02 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-03-20 08:25:02 -0400
commit6ac4a2ab16af49a86ad16bdab1de72d5b809a9c1 (patch)
tree6cdaa76dbcdfe070e293b3d6ab4c78649c8ed059 /drivers/acpi/acpica/tbinstal.c
parent94a81caca3757a2eda026cbd592db8e321fcba43 (diff)
parent6e596084833b95662dfe90e1f30d83ccbd64575c (diff)
Merge branch 'acpica'
* acpica: (29 commits) ACPICA: Revert "Headers: Deploy #pragma pack (push) and (pop)." ACPICA: Update version to 20140214. ACPICA: Prevent infinite loops when traversing corrupted lists. ACPICA: Debugger: Add missing objects; Traverse linked lists ACPICA: Add text: ACPICA policy for new _OSI strings. No functional change. ACPICA: Update for _PRP predefined name. ACPICA: Cleanup/improve global variable declarations. ACPICA: Comment update - no functional change. ACPICA: Do not abort _PRT repair on a single subpackage failure. ACPICA: Harden _PRT repair code; check for minimum package length. ACPICA: Restore code that repairs NULL package elements in return values. ACPICA: Properly handle NULL entries in _PRT return packages. ACPICA: Update conditional compilation flags for resource dump functions. ACPICA: Predefined names: Add support for the _PRP method. ACPICA: Headers: Deploy #pragma pack (push) and (pop). ACPICA: Add boot option to disable auto return object repair ACPICA: acpidump: Remove integer types translation protection. ACPICA: acpidump: Add sparse declarators support. ACPICA: Add "Windows 2013" string to _OSI support. ACPICA: Update version to 20140114. ...
Diffstat (limited to 'drivers/acpi/acpica/tbinstal.c')
-rw-r--r--drivers/acpi/acpica/tbinstal.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/drivers/acpi/acpica/tbinstal.c b/drivers/acpi/acpica/tbinstal.c
index 634357d51fe9..e3040947e9a0 100644
--- a/drivers/acpi/acpica/tbinstal.c
+++ b/drivers/acpi/acpica/tbinstal.c
@@ -5,7 +5,7 @@
5 *****************************************************************************/ 5 *****************************************************************************/
6 6
7/* 7/*
8 * Copyright (C) 2000 - 2013, Intel Corp. 8 * Copyright (C) 2000 - 2014, Intel Corp.
9 * All rights reserved. 9 * All rights reserved.
10 * 10 *
11 * Redistribution and use in source and binary forms, with or without 11 * Redistribution and use in source and binary forms, with or without
@@ -292,10 +292,11 @@ struct acpi_table_header *acpi_tb_table_override(struct acpi_table_header
292 new_table = acpi_os_map_memory(new_address, new_table_length); 292 new_table = acpi_os_map_memory(new_address, new_table_length);
293 if (!new_table) { 293 if (!new_table) {
294 ACPI_EXCEPTION((AE_INFO, AE_NO_MEMORY, 294 ACPI_EXCEPTION((AE_INFO, AE_NO_MEMORY,
295 "%4.4s %p Attempted physical table override failed", 295 "%4.4s " ACPI_PRINTF_UINT
296 " Attempted physical table override failed",
296 table_header->signature, 297 table_header->signature,
297 ACPI_CAST_PTR(void, 298 ACPI_FORMAT_TO_UINT(table_desc->
298 table_desc->address))); 299 address)));
299 return (NULL); 300 return (NULL);
300 } 301 }
301 302
@@ -308,11 +309,11 @@ struct acpi_table_header *acpi_tb_table_override(struct acpi_table_header
308 309
309finish_override: 310finish_override:
310 311
311 ACPI_INFO((AE_INFO, 312 ACPI_INFO((AE_INFO, "%4.4s " ACPI_PRINTF_UINT
312 "%4.4s %p %s table override, new table: %p", 313 " %s table override, new table: " ACPI_PRINTF_UINT,
313 table_header->signature, 314 table_header->signature,
314 ACPI_CAST_PTR(void, table_desc->address), 315 ACPI_FORMAT_TO_UINT(table_desc->address),
315 override_type, new_table)); 316 override_type, ACPI_FORMAT_TO_UINT(new_table)));
316 317
317 /* We can now unmap/delete the original table (if fully mapped) */ 318 /* We can now unmap/delete the original table (if fully mapped) */
318 319