agp: kill phys_to_gart() and gart_to_phys()
There seems to be no reason for these -- they're a 1:1 mapping on all platforms. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
@@ -159,7 +159,7 @@ static int agp_backend_initialize(struct agp_bridge_data *bridge)
|
||||
goto err_out_nounmap;
|
||||
}
|
||||
} else {
|
||||
bridge->scratch_page_dma = phys_to_gart(page_to_phys(page));
|
||||
bridge->scratch_page_dma = page_to_phys(page);
|
||||
}
|
||||
|
||||
bridge->scratch_page = bridge->driver->mask_memory(bridge,
|
||||
|
Reference in New Issue
Block a user