Displaying 1 result from an estimated 1 matches for "hypercall_vm_close".
2010 Dec 08
2
[PATCH] xen: gntdev: move use of GNTMAP_contains_pte next to the map_op
...054826b 100644
--- a/drivers/xen/hypercall.c
+++ b/drivers/xen/hypercall.c
@@ -11,6 +11,7 @@
#include <asm/xen/hypercall.h>
struct mmap_hypercall {
+ spinlock_t lock;
struct list_head list;
};
@@ -67,14 +68,16 @@ static void hypercall_vm_open(struct vm_area_struct * vma)
static void hypercall_vm_close(struct vm_area_struct * vma)
{
struct mmap_hypercall *priv = vma->vm_private_data;
- struct page *page;
+ struct page *page, *tpage;
printk(KERN_CRIT "hypercall_vm_close: vma %p %#lx-%#lx (%#lx) priv %p\n",
vma, vma->vm_start, vma->vm_end, vma->vm_end - vma->v...