Ignore:
File:
1 edited

Legend:

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

    r0ff03f3 rc0699467  
    3939#include <synch/mutex.h>
    4040#include <synch/spinlock.h>
    41 #include <synch/synch.h>
    4241#include <mm/frame.h>
    4342#include <mm/page.h>
     
    272271void futex_cleanup(void)
    273272{
    274         link_t *cur;
    275        
    276273        mutex_lock(&futex_ht_lock);
    277274        mutex_lock(&TASK->futexes_lock);
    278275
    279         for (cur = TASK->futexes.leaf_head.next;
    280             cur != &TASK->futexes.leaf_head; cur = cur->next) {
     276        list_foreach(TASK->futexes.leaf_list, cur) {
    281277                btree_node_t *node;
    282278                unsigned int i;
Note: See TracChangeset for help on using the changeset viewer.