File 23061-amd-iommu-resume.patch of Package xen.import4929
# HG changeset patch
# User Jan Beulich <jbeulich@novell.com>
# Date 1300468552 0
# Node ID 12f7c7ac7f19e122fa83c16c8c6d9a6700ddc409
# Parent b59e98bc6ff12f0ea436fd1a2defecaaffbfffff
amd-iommu: remove a stray __init
This function is being called on the resume path.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
--- a/xen/drivers/passthrough/amd/iommu_init.c
+++ b/xen/drivers/passthrough/amd/iommu_init.c
@@ -118,7 +118,7 @@ static void register_iommu_cmd_buffer_in
writel(entry, iommu->mmio_base+IOMMU_CMD_BUFFER_BASE_HIGH_OFFSET);
}
-static void __init register_iommu_event_log_in_mmio_space(struct amd_iommu *iommu)
+static void register_iommu_event_log_in_mmio_space(struct amd_iommu *iommu)
{
u64 addr_64, addr_lo, addr_hi;
u32 power_of2_entries;