x86/acpi: Reduce code duplication in mp_override_legacy_irq()
authorVikas C Sajjan <[email protected]>
Thu, 16 Nov 2017 16:13:45 +0000 (21:43 +0530)
committerThomas Gleixner <[email protected]>
Fri, 17 Nov 2017 14:30:33 +0000 (15:30 +0100)
commit4ee2ec1b122599f7b10c849fa7915cebb37b7edb
tree0312466cbbd04eb7ff604e4d65e588040041fd2c
parent252714155f04c5d16989cb3aadb85fd1b5772f99
x86/acpi: Reduce code duplication in mp_override_legacy_irq()

The new function mp_register_ioapic_irq() is a subset of the code in
mp_override_legacy_irq().

Replace the code duplication by invoking mp_register_ioapic_irq() from
mp_override_legacy_irq().

Signed-off-by: Vikas C Sajjan <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
arch/x86/kernel/acpi/boot.c