Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/udebug/udebug.c

    r1066041 rfeeac0d  
    4444#include <print.h>
    4545#include <arch.h>
    46 #include <proc/task.h>
    47 #include <proc/thread.h>
    4846
    4947/** Initialize udebug part of task structure.
     
    408406       
    409407        /* Finish debugging of all userspace threads */
    410         list_foreach(task->threads, cur) {
    411                 thread_t *thread = list_get_instance(cur, thread_t, th_link);
    412                
     408        list_foreach(task->threads, th_link, thread_t, thread) {
    413409                mutex_lock(&thread->udebug.lock);
    414410               
Note: See TracChangeset for help on using the changeset viewer.