projects
/
linux-drm-fsl-dcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6
[linux-drm-fsl-dcu.git]
/
drivers
/
char
/
agp
/
ali-agp.c
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();
}
}