Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55aab5f4 authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by Ingo Molnar
Browse files

x86 gart: don't complain if no AMD GART found



Impact: remove annoying bootup printk

It's perfectly normal for no AMD GART to be present, e.g., if you have
Intel CPUs.  None of the other iommu_init() functions makes noise when
it finds nothing.

Signed-off-by: default avatarBjorn Helgaas <bjorn.helgaas@hp.com>
Acked-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent cf9b303e
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -745,10 +745,8 @@ void __init gart_iommu_init(void)
	unsigned long scratch;
	long i;

	if (cache_k8_northbridges() < 0 || num_k8_northbridges == 0) {
		printk(KERN_INFO "PCI-GART: No AMD GART found.\n");
	if (cache_k8_northbridges() < 0 || num_k8_northbridges == 0)
		return;
	}

#ifndef CONFIG_AGP_AMD64
	no_agp = 1;