|
@@ -280,7 +280,7 @@ void __init early_gart_iommu_check(void)
|
|
|
* or BIOS forget to put that in reserved.
|
|
|
* try to update e820 to make that region as reserved.
|
|
|
*/
|
|
|
- u32 agp_aper_base = 0, agp_aper_order = 0;
|
|
|
+ u32 agp_aper_order = 0;
|
|
|
int i, fix, slot, valid_agp = 0;
|
|
|
u32 ctl;
|
|
|
u32 aper_size = 0, aper_order = 0, last_aper_order = 0;
|
|
@@ -291,7 +291,7 @@ void __init early_gart_iommu_check(void)
|
|
|
return;
|
|
|
|
|
|
/* This is mostly duplicate of iommu_hole_init */
|
|
|
- agp_aper_base = search_agp_bridge(&agp_aper_order, &valid_agp);
|
|
|
+ search_agp_bridge(&agp_aper_order, &valid_agp);
|
|
|
|
|
|
fix = 0;
|
|
|
for (i = 0; i < ARRAY_SIZE(bus_dev_ranges); i++) {
|