ACPI / boot: Add number of legacy IRQs to debug output
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 18 Jul 2017 15:04:18 +0000 (18:04 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 24 Jul 2017 20:47:57 +0000 (22:47 +0200)
Sometimes it's useful to have that when mp_config_acpi_legacy_irqs()
is called.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/kernel/acpi/boot.c

index 666dcc3e14e15da95818d8e296a2dabc80b701d9..fc639c156da38316bdf814eaaea08ef231c2acda 100644 (file)
@@ -1086,7 +1086,7 @@ static void __init mp_config_acpi_legacy_irqs(void)
        mp_bus_id_to_type[MP_ISA_BUS] = MP_BUS_ISA;
 #endif
        set_bit(MP_ISA_BUS, mp_bus_not_pci);
-       pr_debug("Bus #%d is ISA\n", MP_ISA_BUS);
+       pr_debug("Bus #%d is ISA (nIRQs: %d)\n", MP_ISA_BUS, nr_legacy_irqs());
 
        /*
         * Use the default configuration for the IRQs 0-15.  Unless