Commit 83a49f71 authored by Andi Kleen's avatar Andi Kleen Committed by Dave Jones

x86-64 fixes from Andi

parent 39f76490
......@@ -107,7 +107,11 @@ config AGP_SWORKS
config AGP_AMD_8151
bool "AMD 8151 support"
depends on AGP && !GART_IOMMU
depends on AGP
default GART_IOMMU
help
Say Y here to support the AMD 8151 AGP bridge and the builtin
GART on the AMD Athlon64/Opteron ("Hammer") CPUs.
config AGP_I460
bool "Intel 460GX support"
......
......@@ -197,6 +197,9 @@ static int agp_return_size(void)
break;
}
current_size -= (agp_memory_reserved / (1024*1024));
if (current_size <0)
current_size = 0;
return current_size;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment