Changeset c028b22 in mainline for kernel/generic/src/time/clock.c
- Timestamp:
- 2011-07-08T17:01:01Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cc1a727
- Parents:
- 4e36219 (diff), 026793d (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
r4e36219 rc028b22 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.