aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLuck, Tony <tony.luck@intel.com>2009-12-16 17:59:29 -0500
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-12-31 14:42:05 -0500
commit0b8973a81876d90f916507ac40d1381068dc986a (patch)
tree3cc063537da1b2e041223add104aa6ca3d64ba04 /drivers
parenta79960e576ebca9dbf24489b562689f2be7e9ff0 (diff)
intel-iommu: Fix section mismatch dmar_ir_support() uses dmar_tbl.
dmar_tbl is declared as __initdata, but dmar_ir_support() is not declared as an __init function. Fix is simple since the only caller of dmar_ir_support (intr_remapping_supported) is an __init function. Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pci/dmar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c
index 83aae4747594..ffe22bc3ac8e 100644
--- a/drivers/pci/dmar.c
+++ b/drivers/pci/dmar.c
@@ -1456,7 +1456,7 @@ int dmar_reenable_qi(struct intel_iommu *iommu)
1456/* 1456/*
1457 * Check interrupt remapping support in DMAR table description. 1457 * Check interrupt remapping support in DMAR table description.
1458 */ 1458 */
1459int dmar_ir_support(void) 1459int __init dmar_ir_support(void)
1460{ 1460{
1461 struct acpi_table_dmar *dmar; 1461 struct acpi_table_dmar *dmar;
1462 dmar = (struct acpi_table_dmar *)dmar_tbl; 1462 dmar = (struct acpi_table_dmar *)dmar_tbl;