Changeset 408 for trunk/kernel/mm/vseg.c


Ignore:
Timestamp:
Dec 5, 2017, 4:20:07 PM (4 years ago)
Author:
alain
Message:

Fix several bugs in the fork() syscall.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/mm/vseg.c

    r407 r408  
    194194
    195195    // add vseg in vmm list
    196     list_add_last( &vmm->vsegs_root , &vseg->list );
     196    xlist_add_last( XPTR( local_cxy , &vmm->vsegs_root ),
     197                    XPTR( local_cxy , &vseg->xlist ) );
    197198}
    198199
     
    205206
    206207    // remove vseg from vmm list
    207     list_unlink( &vseg->list );
    208 }
    209 
     208    xlist_unlink( XPTR( local_cxy , &vseg->xlist ) );
     209}
     210
Note: See TracChangeset for help on using the changeset viewer.