|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Allow architectures to define their own privcmd_mmap() b
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 63e29ff50fe6f68aed9d36911621b442fae4ebd5
# Parent 9ffa49fe58ab90c41c257663a876454b4cca0440
Allow architectures to define their own privcmd_mmap() by
introducing HAVE_ARCH_PRIVCMD_MMAP.
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
diff -r 9ffa49fe58ab -r 63e29ff50fe6
linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c
--- a/linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c Sun Apr 30
09:50:49 2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c Sun Apr 30
09:52:13 2006 +0100
@@ -241,6 +241,7 @@ static int privcmd_ioctl(struct inode *i
return ret;
}
+#ifndef HAVE_ARCH_PRIVCMD_MMAP
static int privcmd_mmap(struct file * file, struct vm_area_struct * vma)
{
/* DONTCOPY is essential for Xen as copy_page_range is broken. */
@@ -248,6 +249,7 @@ static int privcmd_mmap(struct file * fi
return 0;
}
+#endif
static struct file_operations privcmd_file_ops = {
.ioctl = privcmd_ioctl,
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Allow architectures to define their own privcmd_mmap() by,
Xen patchbot -unstable <=
|
|
|
|
|