]> Pileus Git - ~andy/linux/blobdiff - arch/x86/xen/grant-table.c
xen: map foreign pages for shared rings by updating the PTEs directly
[~andy/linux] / arch / x86 / xen / grant-table.c
index 6bbfd7ac5e814b10c96b925407c18cfaabb32453..5a40d24ba3316b85b42e5ef5d00280b89a2033b9 100644 (file)
@@ -71,7 +71,7 @@ int arch_gnttab_map_shared(unsigned long *frames, unsigned long nr_gframes,
 
        if (shared == NULL) {
                struct vm_struct *area =
-                       alloc_vm_area(PAGE_SIZE * max_nr_gframes);
+                       alloc_vm_area(PAGE_SIZE * max_nr_gframes, NULL);
                BUG_ON(area == NULL);
                shared = area->addr;
                *__shared = shared;