diff options
Diffstat (limited to 'drivers/xen/gntdev.c')
-rw-r--r-- | drivers/xen/gntdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/gntdev.c b/drivers/xen/gntdev.c index 4c339c7e66e5..a446a7221e13 100644 --- a/drivers/xen/gntdev.c +++ b/drivers/xen/gntdev.c | |||
@@ -1143,7 +1143,7 @@ static int gntdev_mmap(struct file *flip, struct vm_area_struct *vma) | |||
1143 | goto out_put_map; | 1143 | goto out_put_map; |
1144 | 1144 | ||
1145 | if (!use_ptemod) { | 1145 | if (!use_ptemod) { |
1146 | err = vm_map_pages(vma, map->pages, map->count); | 1146 | err = vm_map_pages_zero(vma, map->pages, map->count); |
1147 | if (err) | 1147 | if (err) |
1148 | goto out_put_map; | 1148 | goto out_put_map; |
1149 | } else { | 1149 | } else { |