Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/mm/backend_anon.c

    r55b77d9 rb4ffe5bc  
    9797void anon_share(as_area_t *area)
    9898{
     99        link_t *cur;
     100
    99101        ASSERT(mutex_locked(&area->as->lock));
    100102        ASSERT(mutex_locked(&area->lock));
     
    104106         */
    105107        mutex_lock(&area->sh_info->lock);
    106         list_foreach(area->used_space.leaf_list, cur) {
     108        for (cur = area->used_space.leaf_head.next;
     109            cur != &area->used_space.leaf_head; cur = cur->next) {
    107110                btree_node_t *node;
    108111                unsigned int i;
Note: See TracChangeset for help on using the changeset viewer.