Changes in kernel/generic/src/proc/task.c [e3306d04:05882233] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/task.c
re3306d04 r05882233 166 166 return rc; 167 167 168 atomic_s tore(&task->refcount, 0);169 atomic_s tore(&task->lifecount, 0);168 atomic_set(&task->refcount, 0); 169 atomic_set(&task->lifecount, 0); 170 170 171 171 irq_spinlock_initialize(&task->lock, "task_t_lock"); … … 619 619 #ifdef __32_BITS__ 620 620 if (*additional) 621 printf("%-8" PRIu64 " %9 zu", task->taskid,622 atomic_ load(&task->refcount));621 printf("%-8" PRIu64 " %9" PRIua, task->taskid, 622 atomic_get(&task->refcount)); 623 623 else 624 624 printf("%-8" PRIu64 " %-14s %-5" PRIu32 " %10p %10p" … … 631 631 if (*additional) 632 632 printf("%-8" PRIu64 " %9" PRIu64 "%c %9" PRIu64 "%c " 633 "%9 zu\n", task->taskid, ucycles, usuffix, kcycles,634 ksuffix, atomic_ load(&task->refcount));633 "%9" PRIua "\n", task->taskid, ucycles, usuffix, kcycles, 634 ksuffix, atomic_get(&task->refcount)); 635 635 else 636 636 printf("%-8" PRIu64 " %-14s %-5" PRIu32 " %18p %18p\n",
Note:
See TracChangeset
for help on using the changeset viewer.