]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: Set debug output flags independent of ACPICA
authorErik Schmauss <erik.schmauss@intel.com>
Wed, 6 Feb 2019 00:14:00 +0000 (16:14 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 7 Feb 2019 11:24:28 +0000 (12:24 +0100)
commit9d1bd52f78e3aad9cbaa87642b4b3a162431a61b
treecf217a1b3aa63e5da7da01f794c69065ef86bdf4
parentb5cbce66baf0be0c7a7b3377a02035cf3ad62d9c
ACPI: Set debug output flags independent of ACPICA

There was a divergence between Linux and ACPICA on the definition of
ACPI_DEBUG_DEFAULT. This divergence was solved by taking ACPICA's
definition in 5e4c443fd2ec. After resolving the divergence, it was
clear that Linux users wanted to use their old set of debug flags.
This change fixes the divergence by setting these debug flags during
acpi_early_init() rather than during global variable initialization
in acpixf.h (owned by ACPICA).

Fixes: 5e4c443fd2ec ("ACPICA: Debug output: Add option to display method/object evaluation")
Reported-by: Michael J Ruhl <michael.j.ruhl@intel.com>
Reported-by: Alex Gagniuc <Alex_Gagniuc@Dellteam.com>
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/bus.c