]> git.ipfire.org Git - people/arne_f/kernel.git/commit - drivers/iommu/intel-iommu.c
intel-iommu: Mark functions with __init
authorMatt Kraai <kraai@ftbfs.org>
Mon, 24 Aug 2009 05:30:22 +0000 (22:30 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 24 Aug 2009 07:54:34 +0000 (08:54 +0100)
commit071e13746f9ebb259987c71ea77f11e7656769a2
treed789241c2bdfa896d9c648f300243b2b380fbfb9
parent132032274a594ee9ffb6b9c9e2e9698149a09ea9
intel-iommu: Mark functions with __init

Mark si_domain_init and iommu_prepare_static_identity_mapping with
__init, to eliminate the following warnings:

WARNING: drivers/pci/built-in.o(.text+0xf1f4): Section mismatch in reference from the function si_domain_init() to the function .init.text:si_domain_work_fn()
The function si_domain_init() references
the function __init si_domain_work_fn().
This is often because si_domain_init lacks a __init
annotation or the annotation of si_domain_work_fn is wrong.

WARNING: drivers/pci/built-in.o(.text+0xe340): Section mismatch in reference from the function iommu_prepare_static_identity_mapping() to the function .init.text:si_domain_init()
The function iommu_prepare_static_identity_mapping() references
the function __init si_domain_init().
This is often because iommu_prepare_static_identity_mapping lacks a __init
annotation or the annotation of si_domain_init is wrong.

Signed-off-by: Matt Kraai <kraai@ftbfs.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/intel-iommu.c