From: Andy Shevchenko Date: Tue, 18 Jul 2017 15:04:18 +0000 (+0300) Subject: ACPI / boot: Add number of legacy IRQs to debug output X-Git-Tag: MMI-PSA29.97-13-9~4827^2~2^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=42d516ce3414b46fae5cb74cf180606588d2777f;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Rafael J. Wysocki --- 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