summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/pci-swiotlb.c
diff options
context:
space:
mode:
authorJacob Pan <jacob.jun.pan@linux.intel.com>2012-01-26 17:32:04 +0000
committerIngo Molnar <mingo@elte.hu>2012-01-26 21:23:50 +0100
commitb3eea29c189a0e3e2ac921e85fabfa4989ee58d7 (patch)
treed75c6cd4f090444d5f3f433e1bd909db5c83a777 /arch/x86/kernel/pci-swiotlb.c
parent87f71ae2dd7471c1b4c94100be1f218e91dc64c3 (diff)
downloadop-kernel-dev-b3eea29c189a0e3e2ac921e85fabfa4989ee58d7.zip
op-kernel-dev-b3eea29c189a0e3e2ac921e85fabfa4989ee58d7.tar.gz
x86/ioapic: Use legacy_pic to set correct gsi-irq mapping
Using compile time NR_LEGACY_IRQS causes the wrong gsi-irq mapping on non-PC platforms, such as Moorestown. This patch uses legacy_pic abstraction to set the correct number of legacy interrupts at runtime. For Moorestown, nr_legacy_irqs = 0. We have 1:1 mapping for gsi-irq even within the legacy irq range. Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com> Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com> Link: http://lkml.kernel.org/n/tip-kzvj4xp9tmicuoqoh2w05iay@git.kernel.org Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/pci-swiotlb.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud