* (no subject)
@ 2010-01-13 0:48 Jeff Mahoney
2010-01-13 8:24 ` David Woodhouse
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Mahoney @ 2010-01-13 0:48 UTC (permalink / raw)
To: Linux Kernel Mailing List; +Cc: Andrew Morton, Youquan Song, David Woodhouse
Subject: [patch 3/6] dmar: Fix section mismatch
References: <20100113004855.550486769@suse.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@suse.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;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re:
2010-01-13 0:48 Jeff Mahoney
@ 2010-01-13 8:24 ` David Woodhouse
0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2010-01-13 8:24 UTC (permalink / raw)
To: Jeff Mahoney; +Cc: Linux Kernel Mailing List, Andrew Morton, Song, Youquan
On Wed, 2010-01-13 at 00:48 +0000, Jeff Mahoney wrote:
> Subject: [patch 3/6] dmar: Fix section mismatch
> References: <20100113004855.550486769@suse.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@suse.com>
This patch doesn't apply to linux-next, and hasn't applied there for
about two weeks. Why are people still sending it to me?
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-13 8:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-13 0:48 Jeff Mahoney
2010-01-13 8:24 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).