Changeset 8ff0bd2 in mainline for kernel/generic/src/time/clock.c


Ignore:
Timestamp:
2011-09-04T11:30:58Z (14 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
03bc76a
Parents:
d2c67e7 (diff), deac215e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/time/clock.c

    rd2c67e7 r8ff0bd2  
    9494        clock_parea.frames = 1;
    9595        clock_parea.unpriv = true;
     96        clock_parea.mapped = false;
    9697        ddi_parea_register(&clock_parea);
    9798       
     
    163164               
    164165                link_t *cur;
    165                 while ((cur = CPU->timeout_active_head.next) != &CPU->timeout_active_head) {
    166                         timeout_t *timeout = list_get_instance(cur, timeout_t, link);
     166                while ((cur = list_first(&CPU->timeout_active_list)) != NULL) {
     167                        timeout_t *timeout = list_get_instance(cur, timeout_t,
     168                            link);
    167169                       
    168170                        irq_spinlock_lock(&timeout->lock, false);
Note: See TracChangeset for help on using the changeset viewer.