[kernel] r15511 - dists/sid/linux-2.6/debian/patches/bugfix/all
Ben Hutchings
benh at alioth.debian.org
Mon Apr 12 21:02:50 UTC 2010
Author: benh
Date: Mon Apr 12 21:02:37 2010
New Revision: 15511
Log:
ACPI: Add braces where they appear to be missing in the change to exprep.c
Modified:
dists/sid/linux-2.6/debian/patches/bugfix/all/ACPI-EC-Allow-multibyte-access-to-EC.patch
Modified: dists/sid/linux-2.6/debian/patches/bugfix/all/ACPI-EC-Allow-multibyte-access-to-EC.patch
==============================================================================
--- dists/sid/linux-2.6/debian/patches/bugfix/all/ACPI-EC-Allow-multibyte-access-to-EC.patch Sun Apr 11 00:51:27 2010 (r15510)
+++ dists/sid/linux-2.6/debian/patches/bugfix/all/ACPI-EC-Allow-multibyte-access-to-EC.patch Mon Apr 12 21:02:37 2010 (r15511)
@@ -9,22 +9,24 @@
Signed-off-by: Alexey Starikovskiy <astarikovskiy at suse.de>
Signed-off-by: Len Brown <len.brown at intel.com>
[bwh: Backport to 2.6.32]
+[bwh: Add braces where they appear to be missing in the change to exprep.c]
--- a/drivers/acpi/acpica/exprep.c
+++ b/drivers/acpi/acpica/exprep.c
-@@ -468,6 +468,18 @@ acpi_status acpi_ex_prep_field_value(struct acpi_create_field_info *info)
+@@ -468,6 +468,19 @@ acpi_status acpi_ex_prep_field_value(struct acpi_create_field_info *info)
acpi_ut_add_reference(obj_desc->field.region_obj);
+ /* allow full data read from EC address space */
+ if (obj_desc->field.region_obj->region.space_id ==
+ ACPI_ADR_SPACE_EC) {
-+ if (obj_desc->common_field.bit_length > 8)
++ if (obj_desc->common_field.bit_length > 8) {
+ obj_desc->common_field.access_bit_width =
+ ACPI_ROUND_UP(obj_desc->common_field.
+ bit_length, 8);
+ obj_desc->common_field.access_byte_width =
+ ACPI_DIV_8(obj_desc->common_field.
+ access_bit_width);
++ }
+ }
+
ACPI_DEBUG_PRINT((ACPI_DB_BFIELD,
More information about the Kernel-svn-changes
mailing list