diff options
-rw-r--r-- | drivers/iommu/amd_iommu_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/amd_iommu_init.c b/drivers/iommu/amd_iommu_init.c index 3d3d6cd52d47..9d23552a9619 100644 --- a/drivers/iommu/amd_iommu_init.c +++ b/drivers/iommu/amd_iommu_init.c | |||
@@ -1860,6 +1860,7 @@ static int __init early_amd_iommu_init(void) | |||
1860 | * Interrupt remapping enabled, create kmem_cache for the | 1860 | * Interrupt remapping enabled, create kmem_cache for the |
1861 | * remapping tables. | 1861 | * remapping tables. |
1862 | */ | 1862 | */ |
1863 | ret = -ENOMEM; | ||
1863 | amd_iommu_irq_cache = kmem_cache_create("irq_remap_cache", | 1864 | amd_iommu_irq_cache = kmem_cache_create("irq_remap_cache", |
1864 | MAX_IRQS_PER_TABLE * sizeof(u32), | 1865 | MAX_IRQS_PER_TABLE * sizeof(u32), |
1865 | IRQ_TABLE_ALIGNMENT, | 1866 | IRQ_TABLE_ALIGNMENT, |