From: Jan Beulich Date: Mon, 2 Apr 2007 13:50:14 +0000 (+0100) Subject: [AGPGART] Add missing calls to global_flush_tlb() to ali-agp X-Git-Tag: v2.6.22-rc1~1084^2~5 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=77ec430ec3b5c6b9bd6dcb0ff9764d9c95bbd227;p=karo-tx-linux.git [AGPGART] Add missing calls to global_flush_tlb() to ali-agp add missing calls to global_flush_tlb(). Signed-off-by: Jan Beulich Signed-off-by: Dave Jones --- diff --git a/drivers/char/agp/ali-agp.c b/drivers/char/agp/ali-agp.c index 5b684fddcc03..4941ddb78939 100644 --- a/drivers/char/agp/ali-agp.c +++ b/drivers/char/agp/ali-agp.c @@ -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(); } }