|
@@ -1860,6 +1860,7 @@ static int __init early_amd_iommu_init(void)
|
|
* Interrupt remapping enabled, create kmem_cache for the
|
|
* Interrupt remapping enabled, create kmem_cache for the
|
|
* remapping tables.
|
|
* remapping tables.
|
|
*/
|
|
*/
|
|
|
|
+ ret = -ENOMEM;
|
|
amd_iommu_irq_cache = kmem_cache_create("irq_remap_cache",
|
|
amd_iommu_irq_cache = kmem_cache_create("irq_remap_cache",
|
|
MAX_IRQS_PER_TABLE * sizeof(u32),
|
|
MAX_IRQS_PER_TABLE * sizeof(u32),
|
|
IRQ_TABLE_ALIGNMENT,
|
|
IRQ_TABLE_ALIGNMENT,
|