[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200912201131.04479.mitov@issp.bas.bg>
Date: Sun, 20 Dec 2009 11:31:04 +0200
From: Marin Mitov <mitov@...p.bas.bg>
To: Jesse Barnes <jbarnes@...tuousgeek.org>
Cc: linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH]Section mismatch: drivers/pci/dmar.c, add __init notation
Hi all,
The function dmar_ir_support() references the variable __initdata dmar_tbl.
dmar_ir_support() itself is called by __init intr_remapping_supported() only.
Mark it __init too.
The patch is against 2.6.33-rc1.
Signed-off-by: Marin Mitov <mitov@...p.bas.bg>
=====================================================================
--- a/drivers/pci/dmar.c 2009-12-20 10:37:50.000000000 +0200
+++ b/drivers/pci/dmar.c 2009-12-20 10:38:29.000000000 +0200
@@ -1456,7 +1456,7 @@
/*
* 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