]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
ACPICA: Linuxize: Reduce divergences for 20150410 release.
authorLv Zheng <lv.zheng@intel.com>
Mon, 13 Apr 2015 03:48:12 +0000 (11:48 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 14 Apr 2015 12:51:50 +0000 (14:51 +0200)
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>
drivers/acpi/acpica/acresrc.h
drivers/acpi/acpica/acutils.h
drivers/acpi/acpica/exregion.c
drivers/acpi/acpica/rsdump.c
drivers/acpi/acpica/tbxfroot.c

index efc4c7124ccc6620cda8003db4238ff49597fb79..959be910aed2c83bb5c754620c6de7a7b436008c 100644 (file)
@@ -303,7 +303,7 @@ acpi_rs_set_resource_length(acpi_rsdesc_size total_length,
  */
 void acpi_rs_dump_resource_list(struct acpi_resource *resource);
 
-void acpi_rs_dump_irq_list(u8 * route_table);
+void acpi_rs_dump_irq_list(u8 *route_table);
 
 /*
  * Resource conversion tables
index c2f03e8774adfa4c5897333ad084ea3be304d5be..3ae0447d34b26ffe32325b14155377e3cade2800 100644 (file)
@@ -539,13 +539,11 @@ acpi_ut_create_update_state_and_push(union acpi_operand_object *object,
                                     u16 action,
                                     union acpi_generic_state **state_list);
 
-#ifdef ACPI_FUTURE_USAGE
 acpi_status
 acpi_ut_create_pkg_state_and_push(void *internal_object,
                                  void *external_object,
                                  u16 index,
                                  union acpi_generic_state **state_list);
-#endif                         /* ACPI_FUTURE_USAGE */
 
 union acpi_generic_state *acpi_ut_create_control_state(void);
 
index 0fe188e238efaef41b757608a876a6f2b34631e8..0ca217ec43b80ca450528bbd66aaab84714b87f1 100644 (file)
@@ -182,7 +182,7 @@ acpi_ex_system_memory_space_handler(u32 function,
                        ACPI_ERROR((AE_INFO,
                                    "Could not map memory at 0x%8.8X%8.8X, size %u",
                                    ACPI_FORMAT_NATIVE_UINT(address),
-                                   (u32) map_length));
+                                   (u32)map_length));
                        mem_info->mapped_length = 0;
                        return_ACPI_STATUS(AE_NO_MEMORY);
                }
index 1539394c8c52c3309dc010a023c706adb2637e44..8d4f26295db68841db669cd112b39afd877cd02d 100644 (file)
@@ -438,7 +438,7 @@ void acpi_rs_dump_resource_list(struct acpi_resource *resource_list)
  *
  ******************************************************************************/
 
-void acpi_rs_dump_irq_list(u8 * route_table)
+void acpi_rs_dump_irq_list(u8 *route_table)
 {
        struct acpi_pci_routing_table *prt_element;
        u8 count;
index eac52cf14f1ae8f2d71299070fb522edfc1fcf6d..e1416a2183cf0e0bb465b284528e6e56b9380611 100644 (file)
@@ -142,7 +142,7 @@ acpi_status acpi_tb_validate_rsdp(struct acpi_table_rsdp * rsdp)
  *
  ******************************************************************************/
 
-acpi_status __init acpi_find_root_pointer(acpi_size *table_address)
+acpi_status __init acpi_find_root_pointer(acpi_size * table_address)
 {
        u8 *table_ptr;
        u8 *mem_rover;