Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/synch/futex.c

    r55b77d9 r0ff03f3  
    272272void futex_cleanup(void)
    273273{
     274        link_t *cur;
     275       
    274276        mutex_lock(&futex_ht_lock);
    275277        mutex_lock(&TASK->futexes_lock);
    276278
    277         list_foreach(TASK->futexes.leaf_list, cur) {
     279        for (cur = TASK->futexes.leaf_head.next;
     280            cur != &TASK->futexes.leaf_head; cur = cur->next) {
    278281                btree_node_t *node;
    279282                unsigned int i;
Note: See TracChangeset for help on using the changeset viewer.