aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/grant-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/xen/grant-table.c')
-rw-r--r--drivers/xen/grant-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/grant-table.c b/drivers/xen/grant-table.c
index d4a89b3d694f..3e02808c4055 100644
--- a/drivers/xen/grant-table.c
+++ b/drivers/xen/grant-table.c
@@ -482,7 +482,7 @@ static int gnttab_map(unsigned int start_idx, unsigned int end_idx)
482 482
483 if (shared == NULL) { 483 if (shared == NULL) {
484 struct vm_struct *area; 484 struct vm_struct *area;
485 area = alloc_vm_area(PAGE_SIZE * max_nr_grant_frames()); 485 area = xen_alloc_vm_area(PAGE_SIZE * max_nr_grant_frames());
486 BUG_ON(area == NULL); 486 BUG_ON(area == NULL);
487 shared = area->addr; 487 shared = area->addr;
488 } 488 }