ACPICA: acpiexec: remove redeclaration of acpi_gbl_db_opt_no_region_support
authorErik Kaneda <erik.kaneda@intel.com>
Fri, 27 Mar 2020 22:21:05 +0000 (15:21 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 30 Mar 2020 12:52:32 +0000 (14:52 +0200)
ACPICA commit 825c53661cacc7e3dab4844588201846143bd1b7

This variable was re-defined in a file specific to acpiexec. Remove
the redundant declaration and move the initialize to the debugger.

Patch based on suggestions by David Seifert and Benjamin Berg.

Link: https://github.com/acpica/acpica/commit/825c5366
Reported-by: David Seifert <soap@gentoo.org>
Reported-by: Benjamin Berg <bberg@redhat.com>
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/dbxface.c

index 3eb45ea93e5e98d0b7ef3fb0429c8a6cec254b97..9dfd693cda3e71656fd708710ad22519d2be7057 100644 (file)
@@ -409,6 +409,7 @@ acpi_status acpi_initialize_debugger(void)
        acpi_gbl_db_output_flags = ACPI_DB_CONSOLE_OUTPUT;
 
        acpi_gbl_db_opt_no_ini_methods = FALSE;
+       acpi_gbl_db_opt_no_region_support = FALSE;
 
        acpi_gbl_db_buffer = acpi_os_allocate(ACPI_DEBUG_BUFFER_SIZE);
        if (!acpi_gbl_db_buffer) {