x86: mpspec: Move writing ISA interrupt entry after PCI
authorBin Meng <bmeng.cn@gmail.com>
Wed, 22 Jul 2015 08:21:10 +0000 (01:21 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 28 Jul 2015 16:36:24 +0000 (10:36 -0600)
commit53832bb8d62df6c369edf3fbb6c9dd4b5ed38710
tree042b2203ed6fcf8a234cb1199adf66bfa17e7599
parentabab912813169e9f24e12b9a0a993b0c6060c808
x86: mpspec: Move writing ISA interrupt entry after PCI

On some platforms the I/O APIC interrupt pin#0-15 may be connected
to platform pci devices' interrupt pin. In such cases the legacy ISA
IRQ is not available so we should not write ISA interrupt entry if
it is already occupied.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/lib/mpspec.c