• Bjørn Mork's avatar
    ACPI: add dynamic_debug support · 45fef5b8
    Bjørn Mork authored
    Commit 1a699476 ("ACPI / hotplug / PCI: Hotplug notifications
    from acpi_bus_notify()") added debug messages for a few common
    events. These debug messages are unconditionally enabled if
    CONFIG_DYNAMIC_DEBUG is defined, contrary to the documented
    meaning, making the ACPI system spew lots of unwanted noise on
    any kernel with dynamic debugging.
    
    The bug was introduced by commit fbfddae6 ("ACPI: Add
    acpi_handle_<level>() interfaces"), which added the
    CONFIG_DYNAMIC_DEBUG dependency without respecting its meaning.
    
    Fix by adding real support for dynamic_debug.
    
    Fixes: fbfddae6 ("ACPI: Add acpi_handle_<level>() interfaces")
    Signed-off-by: default avatarBjørn Mork <bjorn@mork.no>
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    45fef5b8
utils.c 17.7 KB