projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82eab13
)
[AGPGART] Add missing calls to global_flush_tlb() to ali-agp
author
Jan Beulich
<jbeulich@novell.com>
Mon, 2 Apr 2007 13:50:14 +0000
(14:50 +0100)
committer
Dave Jones
<davej@redhat.com>
Thu, 26 Apr 2007 18:22:50 +0000
(14:22 -0400)
add missing calls to global_flush_tlb().
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/char/agp/ali-agp.c
patch
|
blob
|
history
diff --git
a/drivers/char/agp/ali-agp.c
b/drivers/char/agp/ali-agp.c
index 5b684fddcc0338bc5f55b074cf01e8fb0e5e6a9b..4941ddb78939abf7db58ed11c17741feb8ddc8ce 100644
(file)
--- 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();
}
}