Displaying 1 result from an estimated 1 matches for "mmap_kmem".
2006 Nov 30
2
[PATCH] ARCH_HAS_DEV_MEM_MMAP_MEM fix
...s_prot(str
}
#endif
+#ifndef ARCH_HAS_DEV_MEM_MMAP_MEM
static int mmap_mem(struct file * file, struct vm_area_struct * vma)
{
size_t size = vma->vm_end - vma->vm_start;
@@ -269,6 +270,7 @@ static int mmap_mem(struct file * file,
return -EAGAIN;
return 0;
}
+#endif
static int mmap_kmem(struct file * file, struct vm_area_struct * vma)
{
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel