Fixes for MSVC native support to still work with GCC/GNU.

This commit is contained in:
xorstream
2017-01-21 01:07:10 +11:00
parent 00ca6b1a5f
commit 429bfca48e
7 changed files with 31 additions and 29 deletions

View File

@ -247,11 +247,11 @@ static void phys_page_compact(PhysPageEntry *lp, Node *nodes, unsigned long *com
}
}
static void phys_page_compact_all(AddressSpaceDispatch *d, const int nodes_nb)
static void phys_page_compact_all(AddressSpaceDispatch *d, int nodes_nb)
{
//DECLARE_BITMAP(compacted, nodes_nb);
// this isnt actually used
unsigned int* compacted = NULL;
unsigned long* compacted = NULL;
if (d->phys_map.skip) {
phys_page_compact(&d->phys_map, d->map.nodes, compacted);