mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH]Section mismatch in 2.6.32-rc7
@ 2009-11-13 16:59 Marin Mitov
  0 siblings, 0 replies; only message in thread
From: Marin Mitov @ 2009-11-13 16:59 UTC (permalink / raw)
  To: Ashok Raj; +Cc: Shaohua Li, Anil S Keshavamurthy, linux-kernel

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@issp.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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-11-13 17:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-13 16:59 [PATCH]Section mismatch in 2.6.32-rc7 Marin Mitov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®