x86: put irq_2_iommu pointer into irq_desc
authorYinghai Lu <yhlu.kernel@gmail.com>
Wed, 20 Aug 2008 03:50:21 +0000 (20:50 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 16 Oct 2008 14:52:52 +0000 (16:52 +0200)
commite420dfb40c453a9760b86c7f338052bdb4dfa755
tree9a4c04b268b930bebd4fa7818c736820f770cfa2
parent52b17329d6d0a4824b89206803a430915031ff23
x86: put irq_2_iommu pointer into irq_desc

when CONFIG_HAVE_SPARSE_IRQ
preallocate some irq_2_iommu entries, and use get_one_free_irq_2_iomm to
get new one and link to irq_desc if needed.

else will use dyn_array or static array.

v2: <= nr_irqs fix

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/pci/intr_remapping.c
include/linux/irq.h
This page took 0.025418 seconds and 5 git commands to generate.