X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2Fpalacios-vnet.c;h=446bd732d266522fc0290154efc3f8f34438a2da;hb=68f8c4cd303c5da40c1083cbabdaf6395e4dbaa1;hp=014d1915d98272e9eb89a0c6d7e208c63f256bc8;hpb=7a10bbf26095ed08095f38de6c1db4b3a131d6f0;p=palacios.releases.git diff --git a/linux_module/palacios-vnet.c b/linux_module/palacios-vnet.c index 014d191..446bd73 100644 --- a/linux_module/palacios-vnet.c +++ b/linux_module/palacios-vnet.c @@ -116,7 +116,7 @@ host_start_timer(void * vnet_timer){ static void host_reset_timer(void * vnet_timer, unsigned long interval){ - struct host_timer * timer = (struct host_timer *)timer; + struct host_timer * timer = (struct host_timer *)vnet_timer; timer->interval = interval; } @@ -140,10 +140,10 @@ host_del_timer(void * vnet_timer){ static void * -host_allocate_pages(int num_pages, unsigned int alignment, int node_id, int constraint) +host_allocate_pages(int num_pages, unsigned int alignment, int node_id) { // allocates pages preferentially on the caller's node - return palacios_allocate_pages(num_pages, alignment, node_id, constraint); + return palacios_allocate_pages(num_pages, alignment, node_id, 0, 0); }