Commit a5a2f494 authored by Jan Beulich's avatar Jan Beulich Committed by Greg Kroah-Hartman

x86/amd: iommu_set_device_table() must not be __init

commit 6b7f000e upstream.

This function is called from enable_iommus(), which in turn is used
from amd_iommu_resume().
Signed-off-by: default avatarJan Beulich <jbeulich@suse.com>
Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5df11c98
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment