Changeset 8ff0bd2 in mainline for kernel/generic/src/time/clock.c
- Timestamp:
- 2011-09-04T11:30:58Z (14 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/time/clock.c
rd2c67e7 r8ff0bd2 94 94 clock_parea.frames = 1; 95 95 clock_parea.unpriv = true; 96 clock_parea.mapped = false; 96 97 ddi_parea_register(&clock_parea); 97 98 … … 163 164 164 165 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); 167 169 168 170 irq_spinlock_lock(&timeout->lock, false);
Note:
See TracChangeset
for help on using the changeset viewer.