Changeset b86b097 in rtems-libbsd


Ignore:
Timestamp:
Oct 24, 2016, 11:30:37 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
afaeccc05a556f6aa25ba044a7e49d6aa634a59e, master
Children:
95a3ba8
Parents:
11750f1
git-author:
Sebastian Huber <sebastian.huber@…> (10/24/16 11:30:37)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/10/17 08:53:33)
Message:

Fix warings in <sys/seq.h>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/sys/seq.h

    r11750f1 rb86b097  
    9090{
    9191
    92         atomic_store_rel_int(seqp, *seqp + 1);
     92        atomic_store_rel_32(seqp, *seqp + 1);
    9393        MPASS(!seq_in_modify(*seqp));
    9494}
     
    100100
    101101        for (;;) {
    102                 ret = atomic_load_acq_int(__DECONST(seq_t *, seqp));
     102                ret = atomic_load_acq_32(__DECONST(seq_t *, seqp));
    103103                if (seq_in_modify(ret)) {
    104104                        cpu_spinwait();
Note: See TracChangeset for help on using the changeset viewer.