]> git.baikalelectronics.ru Git - kernel.git/commit
amd_iommu_init: remove __init from amd_iommu_erratum_746_workaround
authorNikola Pajkovsky <npajkovs@redhat.com>
Tue, 26 Feb 2013 15:12:05 +0000 (16:12 +0100)
committerJoerg Roedel <joro@8bytes.org>
Sat, 9 Mar 2013 17:54:28 +0000 (18:54 +0100)
commit6273677333f7088f10df88d323187d8f0b468fee
treed5147bb5c44a3c41c893fde1579d1fbf4990253b
parent5d5acf7f3e8c669857f1288b923731e4b4ceb550
amd_iommu_init: remove __init from amd_iommu_erratum_746_workaround

commit 8317b3a ("IOMMU, AMD Family15h Model10-1Fh erratum 746 Workaround")
added amd_iommu_erratum_746_workaround and it's marked as __init, which is wrong

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

Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/amd_iommu_init.c