diff options
Diffstat (limited to 'arch/x86/kernel/amd_iommu_init.c')
-rw-r--r-- | arch/x86/kernel/amd_iommu_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/amd_iommu_init.c b/arch/x86/kernel/amd_iommu_init.c index e60f4cd29eb..505fc04e896 100644 --- a/arch/x86/kernel/amd_iommu_init.c +++ b/arch/x86/kernel/amd_iommu_init.c | |||
@@ -235,7 +235,7 @@ static void __init iommu_feature_disable(struct amd_iommu *iommu, u8 bit) | |||
235 | { | 235 | { |
236 | u32 ctrl; | 236 | u32 ctrl; |
237 | 237 | ||
238 | ctrl = (u64)readl(iommu->mmio_base + MMIO_CONTROL_OFFSET); | 238 | ctrl = readl(iommu->mmio_base + MMIO_CONTROL_OFFSET); |
239 | ctrl &= ~(1 << bit); | 239 | ctrl &= ~(1 << bit); |
240 | writel(ctrl, iommu->mmio_base + MMIO_CONTROL_OFFSET); | 240 | writel(ctrl, iommu->mmio_base + MMIO_CONTROL_OFFSET); |
241 | } | 241 | } |