diff options
author | Bob Moore <robert.moore@intel.com> | 2013-03-08 10:23:39 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-03-12 00:45:05 +0100 |
commit | 40411255c89eb382ed695933155a606c000d855e (patch) | |
tree | 7f275a937fdf26820874b56dc3d3ec78a744720b /drivers/acpi/acpica/utglobal.c | |
parent | ACPICA: Return object repair: Add resource template repairs (diff) | |
download | linux-40411255c89eb382ed695933155a606c000d855e.tar.xz linux-40411255c89eb382ed695933155a606c000d855e.zip |
ACPICA: Disassembler: Add warnings for unresolved control methods
Flags the case where external control methods are unresolved,
meaning that the disassembler had no idea how many arguments to
parse for the method invocation.
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/utglobal.c')
-rw-r--r-- | drivers/acpi/acpica/utglobal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/utglobal.c b/drivers/acpi/acpica/utglobal.c index ffecf4b4f0dd..f736448a8606 100644 --- a/drivers/acpi/acpica/utglobal.c +++ b/drivers/acpi/acpica/utglobal.c @@ -359,6 +359,8 @@ acpi_status acpi_ut_init_globals(void) #ifdef ACPI_DISASSEMBLER acpi_gbl_external_list = NULL; + acpi_gbl_num_external_methods = 0; + acpi_gbl_resolved_external_methods = 0; #endif #ifdef ACPI_DEBUG_OUTPUT |