Changeset 7dd2561 in mainline for generic/src/proc/task.c


Ignore:
Timestamp:
2005-12-15T15:24:52Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
80d2bdb
Parents:
dc747e3
Message:

Add LIST_INITIALIZE() macro to declare and initialize statically allocated lists.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/proc/task.c

    rdc747e3 r7dd2561  
    3838
    3939SPINLOCK_INITIALIZE(tasks_lock);
    40 link_t tasks_head;
    41 
     40LIST_INITIALIZE(tasks_head);
    4241
    4342/** Initialize tasks
     
    4948{
    5049        TASK = NULL;
    51         list_initialize(&tasks_head);
    5250}
    5351
Note: See TracChangeset for help on using the changeset viewer.