Changeset 3cfe2b8 in mainline for kernel/generic/src/sysinfo/stats.c


Ignore:
Timestamp:
2018-09-07T16:01:50Z (6 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:
c53e813
Parents:
5f1d850
Message:

Convert atomic_t to atomic_size_t (6): Replace atomic_count_t with size_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/sysinfo/stats.c

    r5f1d850 r3cfe2b8  
    764764 *
    765765 */
    766 static inline load_t load_calc(load_t load, load_t exp, atomic_count_t ready)
     766static inline load_t load_calc(load_t load, load_t exp, size_t ready)
    767767{
    768768        load *= exp;
     
    784784
    785785        while (true) {
    786                 atomic_count_t ready = atomic_load(&nrdy);
     786                size_t ready = atomic_load(&nrdy);
    787787
    788788                /* Mutually exclude with get_stats_load() */
Note: See TracChangeset for help on using the changeset viewer.