Changeset bc1089a in mainline for src/proc/thread.c


Ignore:
Timestamp:
2005-09-02T17:57:11Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
da7d770
Parents:
649d96b
Message:

Make atomic_dec() and atomic_inc() take (volatile int *) argument, not (volatile count_t *).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/proc/thread.c

    r649d96b rbc1089a  
    137137        spinlock_unlock(&r->lock);
    138138
    139         atomic_inc(&nrdy);
     139        atomic_inc((int *) &nrdy);
    140140        avg = nrdy / config.cpu_active;
    141141
Note: See TracChangeset for help on using the changeset viewer.