aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/amd_iommu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/amd_iommu.c')
-rw-r--r--arch/x86/kernel/amd_iommu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c
index 0285521e0a99..42ac5e000995 100644
--- a/arch/x86/kernel/amd_iommu.c
+++ b/arch/x86/kernel/amd_iommu.c
@@ -1637,7 +1637,7 @@ retry:
1637 goto out; 1637 goto out;
1638 1638
1639 /* 1639 /*
1640 * aperture was sucessfully enlarged by 128 MB, try 1640 * aperture was successfully enlarged by 128 MB, try
1641 * allocation again 1641 * allocation again
1642 */ 1642 */
1643 goto retry; 1643 goto retry;
@@ -2396,7 +2396,7 @@ int __init amd_iommu_init_passthrough(void)
2396 struct pci_dev *dev = NULL; 2396 struct pci_dev *dev = NULL;
2397 u16 devid, devid2; 2397 u16 devid, devid2;
2398 2398
2399 /* allocate passthroug domain */ 2399 /* allocate passthrough domain */
2400 pt_domain = protection_domain_alloc(); 2400 pt_domain = protection_domain_alloc();
2401 if (!pt_domain) 2401 if (!pt_domain)
2402 return -ENOMEM; 2402 return -ENOMEM;