summaryrefslogtreecommitdiffstats
path: root/drivers/xen/privcmd.c
diff options
context:
space:
mode:
authorDavid Vrabel2015-06-25 14:12:46 +0200
committerDavid Vrabel2015-10-23 15:20:05 +0200
commit81b286e0f1fe520f2a96f736ffa7e508ac9139ba (patch)
tree7015960f17bc3fe36ff4b14772aaddf70dcf0da1 /drivers/xen/privcmd.c
parentxen/balloon: only hotplug additional memory if required (diff)
downloadkernel-qcow2-linux-81b286e0f1fe520f2a96f736ffa7e508ac9139ba.tar.gz
kernel-qcow2-linux-81b286e0f1fe520f2a96f736ffa7e508ac9139ba.tar.xz
kernel-qcow2-linux-81b286e0f1fe520f2a96f736ffa7e508ac9139ba.zip
xen/balloon: make alloc_xenballoon_pages() always allocate low pages
All users of alloc_xenballoon_pages() wanted low memory pages, so remove the option for high memory. Signed-off-by: David Vrabel <david.vrabel@citrix.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Diffstat (limited to 'drivers/xen/privcmd.c')
-rw-r--r--drivers/xen/privcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/privcmd.c b/drivers/xen/privcmd.c
index 5e9adac928e6..b199ad3d4587 100644
--- a/drivers/xen/privcmd.c
+++ b/drivers/xen/privcmd.c
@@ -401,7 +401,7 @@ static int alloc_empty_pages(struct vm_area_struct *vma, int numpgs)
if (pages == NULL)
return -ENOMEM;
- rc = alloc_xenballooned_pages(numpgs, pages, 0);
+ rc = alloc_xenballooned_pages(numpgs, pages);
if (rc != 0) {
pr_warn("%s Could not alloc %d pfns rc:%d\n", __func__,
numpgs, rc);