/* In a multiprocessor x86-64 system, this function gets called once for each CPU.  */
static u64 amd64_configure(struct pci_dev *hammer, u64 gatt_table)
/* In a multiprocessor x86-64 system, this function gets called once for each CPU.  */
static u64 amd64_configure(struct pci_dev *hammer, u64 gatt_table)
{
	u64 aperturebase;
	u32 tmp;
	u64 aper_base;
	pci_read_config_dword(hammer, AMD64_GARTAPERTUREBASE, &tmp);
	aperturebase = tmp << 25;
	aper_base = (aperturebase & PCI_BASE_ADDRESS_MEM_MASK);
	enable_gart_translation(hammer, gatt_table);
	return aper_base;
}