[lkml]   [2010]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] pci: intr_remapping: Fix bogus CONFIG ifdef
The interrupt remapping code selects the dynamic allocation of the
irq_2_iommu structure depending on CONFIG_GENERIC_HARDIRQS. Introduced
by commit d7e51e668 (sparseirq: make some func to be used with genirq)

The correct config switch is CONFIG_SPARSE_IRQ.

Signed-off-by: Thomas Gleixner <>
diff --git a/drivers/pci/intr_remapping.c b/drivers/pci/intr_remapping.c
index fd1d286..af63cc2 100644
--- a/drivers/pci/intr_remapping.c
+++ b/drivers/pci/intr_remapping.c
@@ -53,7 +53,7 @@ struct irq_2_iommu {
u8 irte_mask;

static struct irq_2_iommu *get_one_free_irq_2_iommu(int node)
struct irq_2_iommu *iommu;

 \ /
  Last update: 2010-10-10 12:07    [W:0.027 / U:8.264 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site