Changeset 077842c in mainline for kernel/generic/src


Ignore:
Timestamp:
2018-09-07T15:46:41Z (7 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e9d2905
Parents:
78de83de
Message:

Convert atomic_t to atomic_size_t (1): remove PRIua macro

Location:
kernel/generic/src/proc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/scheduler.c

    r78de83de r077842c  
    530530        log(LF_OTHER, LVL_DEBUG,
    531531            "cpu%u: tid %" PRIu64 " (priority=%d, ticks=%" PRIu64
    532             ", nrdy=%" PRIua ")", CPU->id, THREAD->tid, THREAD->priority,
     532            ", nrdy=%zu)", CPU->id, THREAD->tid, THREAD->priority,
    533533            THREAD->ticks, atomic_get(&CPU->nrdy));
    534534#endif
     
    739739                irq_spinlock_lock(&cpus[cpu].lock, true);
    740740
    741                 printf("cpu%u: address=%p, nrdy=%" PRIua ", needs_relink=%zu\n",
     741                printf("cpu%u: address=%p, nrdy=%zu, needs_relink=%zu\n",
    742742                    cpus[cpu].id, &cpus[cpu], atomic_get(&cpus[cpu].nrdy),
    743743                    cpus[cpu].needs_relink);
  • kernel/generic/src/proc/task.c

    r78de83de r077842c  
    619619#ifdef __32_BITS__
    620620        if (*additional)
    621                 printf("%-8" PRIu64 " %9" PRIua, task->taskid,
     621                printf("%-8" PRIu64 " %9zu", task->taskid,
    622622                    atomic_get(&task->refcount));
    623623        else
     
    631631        if (*additional)
    632632                printf("%-8" PRIu64 " %9" PRIu64 "%c %9" PRIu64 "%c "
    633                     "%9" PRIua "\n", task->taskid, ucycles, usuffix, kcycles,
     633                    "%9zu\n", task->taskid, ucycles, usuffix, kcycles,
    634634                    ksuffix, atomic_get(&task->refcount));
    635635        else
Note: See TracChangeset for help on using the changeset viewer.