X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2Fpalacios-stubs.c;h=7ad4ad85c95241872b0291c6ef6beedc033198db;hb=16db015d4bcec7b3f9e25eb8dbb6796c4d85550a;hp=a7f1607d779c5852eb69ddd3f03d7b0491618092;hpb=1cc8fb21b4fdd6d2eb16742af13d60949e61d2ed;p=palacios.git diff --git a/linux_module/palacios-stubs.c b/linux_module/palacios-stubs.c index a7f1607..7ad4ad8 100644 --- a/linux_module/palacios-stubs.c +++ b/linux_module/palacios-stubs.c @@ -165,7 +165,7 @@ void palacios_print_scoped(void * vm, int vcore, const char *fmt, ...) { * Allocates a contiguous region of pages of the requested size. * Returns the physical address of the first page in the region. */ -void *palacios_allocate_pages(int num_pages, unsigned int alignment) { +void *palacios_allocate_pages(int num_pages, unsigned int alignment, int node_id) { void * pg_addr = NULL; if (num_pages<=0) { @@ -173,7 +173,7 @@ void *palacios_allocate_pages(int num_pages, unsigned int alignment) { return NULL; } - pg_addr = (void *)alloc_palacios_pgs(num_pages, alignment); + pg_addr = (void *)alloc_palacios_pgs(num_pages, alignment, node_id); if (!pg_addr) { ERROR("ALERT ALERT Page allocation has FAILED Warning\n");