From: Jan Beulich Date: Fri, 18 Mar 2011 17:15:52 +0000 (+0000) Subject: amd-iommu: remove a stray __init X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fc5b92fffd6ffc5bc4c62f449c284f4522ecb13f;p=xen.git amd-iommu: remove a stray __init This function is being called on the resume path. Signed-off-by: Jan Beulich --- diff --git a/xen/drivers/passthrough/amd/iommu_init.c b/xen/drivers/passthrough/amd/iommu_init.c index 520a9017f8..1002e44e8d 100644 --- 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_mmio_space(struct amd_iommu *iommu) 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;