aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/gntdev.c
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2011-09-29 06:57:55 -0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-09-29 09:56:52 -0400
commit693394b8c3dcee1a3baa52e30fdc3323d88cd579 (patch)
tree5afa5342abce4d79ef9510b2c61efebc16b937b5 /drivers/xen/gntdev.c
parent0f4b49eaf25e661fbe63a5370b7781166b34d616 (diff)
xen: add an "highmem" parameter to alloc_xenballooned_pages
Add an highmem parameter to alloc_xenballooned_pages, to allow callers to request lowmem or highmem pages. Fix the code style of free_xenballooned_pages' prototype. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen/gntdev.c')
-rw-r--r--drivers/xen/gntdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/gntdev.c b/drivers/xen/gntdev.c
index f914b26cf0c2..7b9b1d1b75a5 100644
--- a/drivers/xen/gntdev.c
+++ b/drivers/xen/gntdev.c
@@ -123,7 +123,7 @@ static struct grant_map *gntdev_alloc_map(struct gntdev_priv *priv, int count)
123 NULL == add->pages) 123 NULL == add->pages)
124 goto err; 124 goto err;
125 125
126 if (alloc_xenballooned_pages(count, add->pages)) 126 if (alloc_xenballooned_pages(count, add->pages, false /* lowmem */))
127 goto err; 127 goto err;
128 128
129 for (i = 0; i < count; i++) { 129 for (i = 0; i < count; i++) {