summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/acpi/boot.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-07-18 18:04:18 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-07-24 22:47:57 +0200
commit42d516ce3414b46fae5cb74cf180606588d2777f (patch)
tree9a9e954736d7cc20db7dbed9804e4a85ad8098e6 /arch/x86/kernel/acpi/boot.c
parent6c9a58e84e59a2fc937798b623f72ae4b436547d (diff)
downloadlinux-42d516ce3414b46fae5cb74cf180606588d2777f.tar.gz
linux-42d516ce3414b46fae5cb74cf180606588d2777f.tar.bz2
linux-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/x86/kernel/acpi/boot.c')
-rw-r--r--arch/x86/kernel/acpi/boot.c2
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