ACPICA: Update for automatic repair code for objects returned by evaluate_object
authorBob Moore <robert.moore@intel.com>
Wed, 26 Apr 2017 08:18:16 +0000 (16:18 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 26 Apr 2017 22:31:00 +0000 (00:31 +0200)
commited7f8bc91a8df96662b21accc9a5abe2c292014a
tree031ae247405fbeffbb443dc202a592593a3bca20
parent3b2d69114fefa474fca542e51119036dceb4aa6f
ACPICA: Update for automatic repair code for objects returned by evaluate_object

ACPICA commit 6b58810b9aad7358fbf1a0f4057fefa8d29838d3

This change fixes two instances where the repair code made an incorrect
assumption about how reference counts are assigned to package objects.
Resolves issues where a warning was issued about a "large reference
count" -- which usually indicates an attempt to delete an object
that has previously been poisoned and released into the object cache.

Link: https://github.com/acpica/acpica/commit/6b58810b
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/nsrepair.c
drivers/acpi/acpica/nsrepair2.c