summaryrefslogtreecommitdiffstats
path: root/include/xen/balloon.h
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2011-09-29 11:57:55 +0100
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-09-29 09:56:52 -0400
commit693394b8c3dcee1a3baa52e30fdc3323d88cd579 (patch)
tree5afa5342abce4d79ef9510b2c61efebc16b937b5 /include/xen/balloon.h
parent0f4b49eaf25e661fbe63a5370b7781166b34d616 (diff)
downloadblackbird-op-linux-693394b8c3dcee1a3baa52e30fdc3323d88cd579.tar.gz
blackbird-op-linux-693394b8c3dcee1a3baa52e30fdc3323d88cd579.zip
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 'include/xen/balloon.h')
-rw-r--r--include/xen/balloon.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/xen/balloon.h b/include/xen/balloon.h
index 76f7538bb339..d29c153705bc 100644
--- a/include/xen/balloon.h
+++ b/include/xen/balloon.h
@@ -25,8 +25,9 @@ extern struct balloon_stats balloon_stats;
void balloon_set_new_target(unsigned long target);
-int alloc_xenballooned_pages(int nr_pages, struct page** pages);
-void free_xenballooned_pages(int nr_pages, struct page** pages);
+int alloc_xenballooned_pages(int nr_pages, struct page **pages,
+ bool highmem);
+void free_xenballooned_pages(int nr_pages, struct page **pages);
struct sys_device;
#ifdef CONFIG_XEN_SELFBALLOONING
OpenPOWER on IntegriCloud