bitkeeper revision 1.7.3.43 (3e030928auyPMr1ywmnubpcNi3_yXA)

further get_unmapped_area changes
This commit is contained in:
lynx@idefix.cl.cam.ac.uk committed 2002-12-20 12:12:24 +00:00
1 parent 46ecb0d377
commit 96dc2a7cd9
1 file changed
+2 -2
@@ -317,7 +317,7 @@ int direct_unmap(unsigned long addr, unsigned long size)
curr = direct_list->next;
while(curr != direct_list){
node = list_entry(curr, direct_mmap_node_t, list);
if(node->addr == addr)
if(node->vm_start == addr)
break;
curr = curr->next;
}
@@ -346,7 +346,7 @@ int direct_disc_unmap(unsigned long from, unsigned long first_pg, int tot_pages)
while(curr != direct_list){
node = list_entry(curr, direct_mmap_node_t, list);
if(node->addr == from)
if(node->vm_start == from)
break;
curr = curr->next;
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.