|
@@ -219,7 +219,7 @@ static int efficeon_create_gatt_table(struct agp_bridge_data *bridge)
|
|
|
|
|
|
efficeon_private.l1_table[index] = page;
|
|
efficeon_private.l1_table[index] = page;
|
|
|
|
|
|
- value = virt_to_gart(page) | pati | present | index;
|
|
|
|
|
|
+ value = virt_to_gart((unsigned long *)page) | pati | present | index;
|
|
|
|
|
|
pci_write_config_dword(agp_bridge->dev,
|
|
pci_write_config_dword(agp_bridge->dev,
|
|
EFFICEON_ATTPAGE, value);
|
|
EFFICEON_ATTPAGE, value);
|