[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200911131859.02883.mitov@issp.bas.bg>
Date: Fri, 13 Nov 2009 18:59:02 +0200
From: Marin Mitov <mitov@...p.bas.bg>
To: Ashok Raj <ashok.raj@...el.com>
Cc: Shaohua Li <shaohua.li@...el.com>,
Anil S Keshavamurthy <anil.s.keshavamurthy@...el.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH]Section mismatch in 2.6.32-rc7
Hi all,
The function dmar_ir_support() in drivers/pci/dmar.c references
the variable __initdata dmar_tbl. The function is used only in
intr_remapping_supported (in drivers/pci/intr_remapping.c) which
is already marked __init. Mark it also as __init.
The patch is against 2.6.32-rc7.
Signed-off-by: Marin Mitov <mitov@...p.bas.bg>
====================================================================
--- a/drivers/pci/dmar.c 2009-11-13 18:16:31.000000000 +0200
+++ b/drivers/pci/dmar.c 2009-11-13 18:18:33.000000000 +0200
@@ -1338,7 +1338,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