Changes in kernel/generic/src/proc/task.c [05882233:e3306d04] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/task.c
r05882233 re3306d04 166 166 return rc; 167 167 168 atomic_s et(&task->refcount, 0);169 atomic_s et(&task->lifecount, 0);168 atomic_store(&task->refcount, 0); 169 atomic_store(&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 " PRIua, task->taskid,622 atomic_ get(&task->refcount));621 printf("%-8" PRIu64 " %9zu", task->taskid, 622 atomic_load(&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 " PRIua "\n", task->taskid, ucycles, usuffix, kcycles,634 ksuffix, atomic_ get(&task->refcount));633 "%9zu\n", task->taskid, ucycles, usuffix, kcycles, 634 ksuffix, atomic_load(&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.