From: Yinghai Lu on 8 Apr 2010 15:10 could make it to be __init to remove the linking section mismatch warning. Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- drivers/pci/dmar.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c index 550f0a9..a9310ed 100644 --- a/drivers/pci/dmar.c +++ b/drivers/pci/dmar.c @@ -1467,7 +1467,7 @@ int dmar_reenable_qi(struct intel_iommu *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; -- 1.6.4.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: [PATCH 0/6] pci/dmar: small cleanup Next: [PATCH 2/6] pci/dmar: Print out iommu seq_id |