1
0
Fork 0

[AGPGART] Add missing calls to global_flush_tlb() to ali-agp

add missing calls to global_flush_tlb().

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Dave Jones <davej@redhat.com>
hifive-unleashed-5.1
Jan Beulich 2007-04-02 14:50:14 +01:00 committed by Dave Jones
parent 82eab1306c
commit 77ec430ec3
1 changed files with 2 additions and 0 deletions

View File

@ -145,6 +145,7 @@ static void *m1541_alloc_page(struct agp_bridge_data *bridge)
void *addr = agp_generic_alloc_page(agp_bridge);
u32 temp;
global_flush_tlb();
if (!addr)
return NULL;
@ -160,6 +161,7 @@ static void ali_destroy_page(void * addr)
if (addr) {
global_cache_flush(); /* is this really needed? --hch */
agp_generic_destroy_page(addr);
global_flush_tlb();
}
}