Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Jan Beulich and committed by
Dave Jones
77ec430e 82eab130

+2
+2
drivers/char/agp/ali-agp.c
··· 145 145 void *addr = agp_generic_alloc_page(agp_bridge); 146 146 u32 temp; 147 147 148 + global_flush_tlb(); 148 149 if (!addr) 149 150 return NULL; 150 151 ··· 161 160 if (addr) { 162 161 global_cache_flush(); /* is this really needed? --hch */ 163 162 agp_generic_destroy_page(addr); 163 + global_flush_tlb(); 164 164 } 165 165 } 166 166