diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-07-05 14:43:37 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-07-05 14:43:37 +0100 |
commit | 24342075eacb997caed94aaf83f57e521fa70fc9 (patch) | |
tree | 86d3c862a847a94b369c919b659827a0fa2e52b7 /tools/libxc/xc_private.c | |
parent | 24a06f7ce128efb2188ab30512bd4d9e1dbab754 (diff) | |
download | xen-24342075eacb997caed94aaf83f57e521fa70fc9.tar.gz xen-24342075eacb997caed94aaf83f57e521fa70fc9.tar.bz2 xen-24342075eacb997caed94aaf83f57e521fa70fc9.zip |
numa: Extend MEMOP_ allocation functions to take a node argument.
The address_bits field will be limited to 8 bits and is now embedded
in the mem_flags member, which additionally contains the node number
(limited to 8 bit).
Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'tools/libxc/xc_private.c')
-rw-r--r-- | tools/libxc/xc_private.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxc/xc_private.c b/tools/libxc/xc_private.c index 8b7770be6e..44cd9cb92b 100644 --- a/tools/libxc/xc_private.c +++ b/tools/libxc/xc_private.c @@ -501,7 +501,7 @@ unsigned long xc_make_page_below_4G( } if ( xc_domain_memory_increase_reservation( - xc_handle, domid, 1, 0, 32, &new_mfn) != 0 ) + xc_handle, domid, 1, 0, XENMEMF_address_bits(32), &new_mfn) != 0 ) { DPRINTF("xc_make_page_below_4G increase failed. mfn=%lx\n",mfn); return 0; |