diff mbox

acpi/test panic

Message ID 1285550762.5416.30.camel@minggr.sh.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lin Ming Sept. 27, 2010, 1:26 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/acpi/acpica/exprep.c b/drivers/acpi/acpica/exprep.c
index 5366a48..fa51450 100644
--- a/drivers/acpi/acpica/exprep.c
+++ b/drivers/acpi/acpica/exprep.c
@@ -472,6 +472,10 @@  acpi_status acpi_ex_prep_field_value(struct acpi_create_field_info *info)
 			}
 		}
 
+		/* An additional reference for the container */
+
+		acpi_ut_add_reference(obj_desc->field.region_obj);
+
 		ACPI_DEBUG_PRINT((ACPI_DB_BFIELD,
 				  "RegionField: BitOff %X, Off %X, Gran %X, Region %p\n",
 				  obj_desc->field.start_field_bit_offset,