diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-01-28 16:58:41 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-01-28 16:58:41 +0000 |
commit | 3cf2caaacb01da3d22808cf8057592e1aa94121d (patch) | |
tree | ff8d80c354f2743ab6c2f57abaea9f1467dcf9bd /xen/common/trace.c | |
parent | ad4292993b15b6076dc5a85b098d2e3bb8f47585 (diff) | |
download | xen-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/trace.c')
-rw-r--r-- | xen/common/trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/trace.c b/xen/common/trace.c index e41cfb90a6..129af3c7da 100644 --- a/xen/common/trace.c +++ b/xen/common/trace.c @@ -94,7 +94,7 @@ static int alloc_trace_bufs(void) order = get_order_from_pages(nr_pages); data_size = (opt_tbuf_size * PAGE_SIZE - sizeof(struct t_buf)); - if ( (rawbuf = alloc_xenheap_pages(order)) == NULL ) + if ( (rawbuf = alloc_xenheap_pages(order, 0)) == NULL ) { printk("Xen trace buffers: memory allocation failed\n"); opt_tbuf_size = 0; |