diff options
Diffstat (limited to 'arch/x86/kernel/amd_iommu_init.c')
-rw-r--r-- | arch/x86/kernel/amd_iommu_init.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kernel/amd_iommu_init.c b/arch/x86/kernel/amd_iommu_init.c index c970fac6fdc6..2a13e430437d 100644 --- a/arch/x86/kernel/amd_iommu_init.c +++ b/arch/x86/kernel/amd_iommu_init.c | |||
@@ -169,14 +169,11 @@ static void __init iommu_feature_disable(struct amd_iommu *iommu, u8 bit) | |||
169 | 169 | ||
170 | void __init iommu_enable(struct amd_iommu *iommu) | 170 | void __init iommu_enable(struct amd_iommu *iommu) |
171 | { | 171 | { |
172 | u32 ctrl; | ||
173 | |||
174 | printk(KERN_INFO "AMD IOMMU: Enabling IOMMU at "); | 172 | printk(KERN_INFO "AMD IOMMU: Enabling IOMMU at "); |
175 | print_devid(iommu->devid, 0); | 173 | print_devid(iommu->devid, 0); |
176 | printk(" cap 0x%hx\n", iommu->cap_ptr); | 174 | printk(" cap 0x%hx\n", iommu->cap_ptr); |
177 | 175 | ||
178 | iommu_feature_enable(iommu, CONTROL_IOMMU_EN); | 176 | iommu_feature_enable(iommu, CONTROL_IOMMU_EN); |
179 | ctrl = readl(iommu->mmio_base + MMIO_CONTROL_OFFSET); | ||
180 | } | 177 | } |
181 | 178 | ||
182 | static u8 * __init iommu_map_mmio_space(u64 address) | 179 | static u8 * __init iommu_map_mmio_space(u64 address) |