]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
x86/amd: iommu_set_device_table() must not be __init
authorJan Beulich <JBeulich@suse.com>
Thu, 8 Mar 2012 08:58:13 +0000 (08:58 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Mar 2012 19:31:41 +0000 (12:31 -0700)
commit 6b7f000eb6a0b81d7a809833edb7a457eedf8512 upstream.

This function is called from enable_iommus(), which in turn is used
from amd_iommu_resume().

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iommu/amd_iommu_init.c

index 82d2410f4205d8e5977fce0a9a6ba59ad01b7088..5c741795a0c3a375ebf869060248c9fff71687be 100644 (file)
@@ -268,7 +268,7 @@ static void iommu_set_exclusion_range(struct amd_iommu *iommu)
 }
 
 /* Programs the physical address of the device table into the IOMMU hardware */
-static void __init iommu_set_device_table(struct amd_iommu *iommu)
+static void iommu_set_device_table(struct amd_iommu *iommu)
 {
        u64 entry;