Commit f009649d authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[AGPGART] Fix sign extension bug in amd64 gart driver.

From Terrence Ripperda at NVidia.
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 8bce9f1f
...@@ -73,7 +73,7 @@ static void amd64_tlbflush(struct agp_memory *temp) ...@@ -73,7 +73,7 @@ static void amd64_tlbflush(struct agp_memory *temp)
static int amd64_insert_memory(struct agp_memory *mem, off_t pg_start, int type) static int amd64_insert_memory(struct agp_memory *mem, off_t pg_start, int type)
{ {
int i, j, num_entries; int i, j, num_entries;
long tmp; long long tmp;
u32 pte; u32 pte;
num_entries = agp_num_entries(); num_entries = agp_num_entries();
......
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