aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2015-04-12 23:48:12 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-04-14 08:51:50 -0400
commit18ae90214d385e9b992ead6653e6976b42097978 (patch)
tree1b111af5f63635524dec1f7c049747d1eb95fb49
parent39a8804455fb23f09157341d3ba7db6d7ae6ee76 (diff)
ACPICA: Linuxize: Reduce divergences for 20150410 release.
This patch reduces source code differences between the Linux kernel and the ACPICA upstream so that the linuxized ACPICA 20150410 release can be applied with reduced human intervention. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--drivers/acpi/acpica/acresrc.h2
-rw-r--r--drivers/acpi/acpica/acutils.h2
-rw-r--r--drivers/acpi/acpica/exregion.c2
-rw-r--r--drivers/acpi/acpica/rsdump.c2
-rw-r--r--drivers/acpi/acpica/tbxfroot.c2
5 files changed, 4 insertions, 6 deletions
diff --git a/drivers/acpi/acpica/acresrc.h b/drivers/acpi/acpica/acresrc.h
index efc4c7124ccc..959be910aed2 100644
--- a/drivers/acpi/acpica/acresrc.h
+++ b/drivers/acpi/acpica/acresrc.h
@@ -303,7 +303,7 @@ acpi_rs_set_resource_length(acpi_rsdesc_size total_length,
303 */ 303 */
304void acpi_rs_dump_resource_list(struct acpi_resource *resource); 304void acpi_rs_dump_resource_list(struct acpi_resource *resource);
305 305
306void acpi_rs_dump_irq_list(u8 * route_table); 306void acpi_rs_dump_irq_list(u8 *route_table);
307 307
308/* 308/*
309 * Resource conversion tables 309 * Resource conversion tables
diff --git a/drivers/acpi/acpica/acutils.h b/drivers/acpi/acpica/acutils.h
index c2f03e8774ad..3ae0447d34b2 100644
--- a/drivers/acpi/acpica/acutils.h
+++ b/drivers/acpi/acpica/acutils.h
@@ -539,13 +539,11 @@ acpi_ut_create_update_state_and_push(union acpi_operand_object *object,
539 u16 action, 539 u16 action,
540 union acpi_generic_state **state_list); 540 union acpi_generic_state **state_list);
541 541
542#ifdef ACPI_FUTURE_USAGE
543acpi_status 542acpi_status
544acpi_ut_create_pkg_state_and_push(void *internal_object, 543acpi_ut_create_pkg_state_and_push(void *internal_object,
545 void *external_object, 544 void *external_object,
546 u16 index, 545 u16 index,
547 union acpi_generic_state **state_list); 546 union acpi_generic_state **state_list);
548#endif /* ACPI_FUTURE_USAGE */
549 547
550union acpi_generic_state *acpi_ut_create_control_state(void); 548union acpi_generic_state *acpi_ut_create_control_state(void);
551 549
diff --git a/drivers/acpi/acpica/exregion.c b/drivers/acpi/acpica/exregion.c
index 0fe188e238ef..0ca217ec43b8 100644
--- a/drivers/acpi/acpica/exregion.c
+++ b/drivers/acpi/acpica/exregion.c
@@ -182,7 +182,7 @@ acpi_ex_system_memory_space_handler(u32 function,
182 ACPI_ERROR((AE_INFO, 182 ACPI_ERROR((AE_INFO,
183 "Could not map memory at 0x%8.8X%8.8X, size %u", 183 "Could not map memory at 0x%8.8X%8.8X, size %u",
184 ACPI_FORMAT_NATIVE_UINT(address), 184 ACPI_FORMAT_NATIVE_UINT(address),
185 (u32) map_length)); 185 (u32)map_length));
186 mem_info->mapped_length = 0; 186 mem_info->mapped_length = 0;
187 return_ACPI_STATUS(AE_NO_MEMORY); 187 return_ACPI_STATUS(AE_NO_MEMORY);
188 } 188 }
diff --git a/drivers/acpi/acpica/rsdump.c b/drivers/acpi/acpica/rsdump.c
index 1539394c8c52..8d4f26295db6 100644
--- a/drivers/acpi/acpica/rsdump.c
+++ b/drivers/acpi/acpica/rsdump.c
@@ -438,7 +438,7 @@ void acpi_rs_dump_resource_list(struct acpi_resource *resource_list)
438 * 438 *
439 ******************************************************************************/ 439 ******************************************************************************/
440 440
441void acpi_rs_dump_irq_list(u8 * route_table) 441void acpi_rs_dump_irq_list(u8 *route_table)
442{ 442{
443 struct acpi_pci_routing_table *prt_element; 443 struct acpi_pci_routing_table *prt_element;
444 u8 count; 444 u8 count;
diff --git a/drivers/acpi/acpica/tbxfroot.c b/drivers/acpi/acpica/tbxfroot.c
index eac52cf14f1a..e1416a2183cf 100644
--- a/drivers/acpi/acpica/tbxfroot.c
+++ b/drivers/acpi/acpica/tbxfroot.c
@@ -142,7 +142,7 @@ acpi_status acpi_tb_validate_rsdp(struct acpi_table_rsdp * rsdp)
142 * 142 *
143 ******************************************************************************/ 143 ******************************************************************************/
144 144
145acpi_status __init acpi_find_root_pointer(acpi_size *table_address) 145acpi_status __init acpi_find_root_pointer(acpi_size * table_address)
146{ 146{
147 u8 *table_ptr; 147 u8 *table_ptr;
148 u8 *mem_rover; 148 u8 *mem_rover;