diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-07-18 18:04:18 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-07-24 22:47:57 +0200 |
commit | 42d516ce3414b46fae5cb74cf180606588d2777f (patch) | |
tree | 9a9e954736d7cc20db7dbed9804e4a85ad8098e6 /arch | |
parent | 6c9a58e84e59a2fc937798b623f72ae4b436547d (diff) | |
download | linux-stable-42d516ce3414b46fae5cb74cf180606588d2777f.tar.gz linux-stable-42d516ce3414b46fae5cb74cf180606588d2777f.tar.bz2 linux-stable-42d516ce3414b46fae5cb74cf180606588d2777f.zip |
ACPI / boot: Add number of legacy IRQs to debug output
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/acpi/boot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c index 666dcc3e14e1..fc639c156da3 100644 --- a/arch/x86/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c @@ -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 |