Re: aperture_64: use symbolic constants

From: Andi Kleen
Date: Tue May 20 2008 - 07:20:33 EST


Pavel Machek <pavel@xxxxxxx> writes:
> if ((last_aper_order && aper_order != last_aper_order) ||
> @@ -303,9 +303,9 @@ void __init early_gart_iommu_check(void)
> if (!early_is_k8_nb(read_pci_config(0, num, 3, 0x00)))
> continue;
>
> - ctl = read_pci_config(0, num, 3, 0x90);
> + ctl = read_pci_config(0, num, 3, AMD64_GARTAPERTURECTL);

Strictly "AMD64_" is not the correct prefix, because these registers
are generic standard AGP3 registers.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/