Skip to contentSkip to conversation

amd-iommu: remove a stray __init

PATCH New Jan Beulich 1 participant 1 message Mar 18, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 amd-iommu: remove a stray __init

This function is being called on the resume path.

xen/drivers/passthrough/amd/iommu_init.c +1 -1
@@ -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;

This function is being called on the resume path.

xen/drivers/passthrough/amd/iommu_init.c +1 -1
@@ -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;

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel