[Bug 20] ihk_mc_unmap_virtual function at free_physical FIX: use virtual address

This commit is contained in:
Balazs Gerofi bgerofi@riken.jp
2013-05-10 12:21:17 +09:00
parent ed305e096b
commit ab37f57a59

View File

@ -210,7 +210,7 @@ void ihk_mc_unmap_virtual(void *va, int npages, int free_physical)
}
if (free_physical)
ihk_pagealloc_free(vmap_allocator, virt_to_phys(va), npages);
ihk_pagealloc_free(vmap_allocator, va, npages);
}
#ifdef ATTACHED_MIC