-ben
--- linux/drivers/char/mem.c.old Mon Jul 20 22:26:05 1998
+++ linux/drivers/char/mem.c Mon Jul 20 22:26:12 1998
@@ -282,8 +282,8 @@
count = size;
flush_cache_range(current->mm, addr, addr + count);
- zap_page_range(vma, addr, count);
- zeromap_page_range(vma, addr, count, PAGE_COPY);
+ zap_page_range(current->mm, addr, count);
+ zeromap_page_range(addr, count, PAGE_COPY);
flush_tlb_range(current->mm, addr, addr + count);
size -= count;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html