summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/rscalc.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2012-12-19 05:38:07 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-10 11:36:18 (GMT)
commit886308ecea88236e88fba2a7f50d8ce22a40c4fe (patch)
tree74109d1b4466cc70a9a3e9a662165fd84aa90985 /drivers/acpi/acpica/rscalc.c
parent0e770b3263816b4445e2c855f641b172aa26291a (diff)
downloadlinux-886308ecea88236e88fba2a7f50d8ce22a40c4fe.tar.xz
ACPICA: Debugger: Major update for the Disassemble<method> command.
This command was downreved and did not properly disassemble control methods with any reasonable complexity. This fix brings the command up to the same level as the rest of the disassembler. Adds one new file, dmdeferred.c, which is existing code that is now common with the main disassembler and the debugger disassembl command. 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>
Diffstat (limited to 'drivers/acpi/acpica/rscalc.c')
-rw-r--r--drivers/acpi/acpica/rscalc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/rscalc.c b/drivers/acpi/acpica/rscalc.c
index 4f39bd6..da178b4 100644
--- a/drivers/acpi/acpica/rscalc.c
+++ b/drivers/acpi/acpica/rscalc.c
@@ -407,7 +407,9 @@ acpi_rs_get_list_length(u8 * aml_buffer,
/* Validate the Resource Type and Resource Length */
- status = acpi_ut_validate_resource(aml_buffer, &resource_index);
+ status =
+ acpi_ut_validate_resource(NULL, aml_buffer,
+ &resource_index);
if (ACPI_FAILURE(status)) {
/*
* Exit on failure. Cannot continue because the descriptor length