aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/xenoprof.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-01-28 16:58:41 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-01-28 16:58:41 +0000
commit3cf2caaacb01da3d22808cf8057592e1aa94121d (patch)
treeff8d80c354f2743ab6c2f57abaea9f1467dcf9bd /xen/common/xenoprof.c
parentad4292993b15b6076dc5a85b098d2e3bb8f47585 (diff)
downloadxen-3cf2caaacb01da3d22808cf8057592e1aa94121d.tar.gz
xen-3cf2caaacb01da3d22808cf8057592e1aa94121d.tar.bz2
xen-3cf2caaacb01da3d22808cf8057592e1aa94121d.zip
Allow memflags to be specified to alloc_xenheap_pages().
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/common/xenoprof.c')
-rw-r--r--xen/common/xenoprof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/xenoprof.c b/xen/common/xenoprof.c
index 4e71454a5a..f16ac800ef 100644
--- a/xen/common/xenoprof.c
+++ b/xen/common/xenoprof.c
@@ -225,7 +225,7 @@ static int alloc_xenoprof_struct(
bufsize += (max_samples - 1) * i;
npages = (nvcpu * bufsize - 1) / PAGE_SIZE + 1;
- d->xenoprof->rawbuf = alloc_xenheap_pages(get_order_from_pages(npages));
+ d->xenoprof->rawbuf = alloc_xenheap_pages(get_order_from_pages(npages), 0);
if ( d->xenoprof->rawbuf == NULL )
{
xfree(d->xenoprof);