[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100113004938.881146778@suse.com>
Date: Tue, 12 Jan 2010 19:48:58 -0500
From: Jeff Mahoney <jeffm@...e.com>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Youquan Song <youquan.song@...el.com>,
David Woodhouse <David.Woodhouse@...el.com>
Subject: [patch 3/6] dmar: Fix section mismatch
References: <20100113004855.550486769@...e.com>
Content-Disposition: inline; filename=patches.rpmify/dmar-fix-section-mismatch
dmar_ir_support uses dmar_tbl, which is __initdata. dmar_ir_support is
only called by intr_remapping_supported, which is __init. So, we mark
dmar_ir_support as __init as well.
Signed-off-by: Jeff Mahoney <jeffm@...e.com>
---
drivers/pci/dmar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/pci/dmar.c
+++ b/drivers/pci/dmar.c
@@ -1456,7 +1456,7 @@ int dmar_reenable_qi(struct intel_iommu
/*
* Check interrupt remapping support in DMAR table description.
*/
-int dmar_ir_support(void)
+int __init dmar_ir_support(void)
{
struct acpi_table_dmar *dmar;
dmar = (struct acpi_table_dmar *)dmar_tbl;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists