Merge branch 'apei' into release
authorLen Brown <len.brown@intel.com>
Fri, 30 Mar 2012 20:12:23 +0000 (16:12 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 30 Mar 2012 20:14:02 +0000 (16:14 -0400)
Conflicts:
drivers/acpi/apei/apei-base.c

This was a conflict between

15afae604651d4e17652d2ffb56f5e36f991cfef
(CPI, APEI: Fix incorrect APEI register bit width check and usage)

and

653f4b538f66d37db560e0f56af08117136d29b7
(ACPICA: Expand OSL memory read/write interfaces to 64 bits)

The former changed a parameter in the call to acpi_os_read_memory64()
and the later replaced all calls to acpi_os_read_memory64()
with calls to acpi_os_read_memory().

Signed-off-by: Len Brown <len.brown@intel.com>
1  2 
drivers/acpi/apei/apei-base.c

index ca773683d87ea6f9637eda63aa58da5265327c29,1d3656f6919f4b7543acf14338dd0954438fd4e7..5577762daee1d7d22a8dbf49a27cf02ead2e54a4
@@@ -605,8 -621,8 +621,8 @@@ int apei_read(u64 *val, struct acpi_gen
        *val = 0;
        switch(reg->space_id) {
        case ACPI_ADR_SPACE_SYSTEM_MEMORY:
-               status = acpi_os_read_memory((acpi_physical_address)
-                                            address, val, reg->bit_width);
 -              status = acpi_os_read_memory64((acpi_physical_address) address,
++              status = acpi_os_read_memory((acpi_physical_address) address,
+                                              val, access_bit_width);
                if (ACPI_FAILURE(status))
                        return -EIO;
                break;
@@@ -636,8 -654,8 +654,8 @@@ int apei_write(u64 val, struct acpi_gen
  
        switch (reg->space_id) {
        case ACPI_ADR_SPACE_SYSTEM_MEMORY:
-               status = acpi_os_write_memory((acpi_physical_address)
-                                             address, val, reg->bit_width);
 -              status = acpi_os_write_memory64((acpi_physical_address) address,
++              status = acpi_os_write_memory((acpi_physical_address) address,
+                                               val, access_bit_width);
                if (ACPI_FAILURE(status))
                        return -EIO;
                break;