summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@nuclecu.unam.mx>1997-08-01 21:45:05 +0000
committerMiguel de Icaza <miguel@nuclecu.unam.mx>1997-08-01 21:45:05 +0000
commitdbacf4028db08dd44bda48f4d4662270865e0f9a (patch)
treec6a1d11779d35c530b189f0b2b39f0e27cfb4b8e /mm
parent8d022be5b971aef36124d270500c6d56ed793a3e (diff)
Heh. I forgot to make vmalloc_prot use the argument, it was
still using PAGE_KERNEL, so the shmiq was getting cached pages, not the uncached ones. Get rid of the flush_cache_all upon even pushing. Thanks Ralf :-)
Diffstat (limited to 'mm')
-rw-r--r--mm/vmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index 5b1387c7f..8e1aa523b 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -201,7 +201,7 @@ void * vmalloc_prot(unsigned long size, pgprot_t prot)
if (!area)
return NULL;
addr = area->addr;
- if (vmalloc_area_pages(VMALLOC_VMADDR(addr), size, PAGE_KERNEL)) {
+ if (vmalloc_area_pages(VMALLOC_VMADDR(addr), size, prot)) {
vfree(addr);
return NULL;
}