Skip to content

Commit

Permalink
x86 gart: don't complain if no AMD GART found
Browse files Browse the repository at this point in the history
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: Bjorn Helgaas <bjorn.helgaas@hp.com>
Acked-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Bjorn Helgaas authored and Ingo Molnar committed Dec 18, 2008
1 parent cf9b303 commit 55aab5f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arch/x86/kernel/pci-gart_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 55aab5f

Please sign in to comment.