Changeset d2bdd245 in mainline


Ignore:
Timestamp:
2008-06-02T11:50:42Z (17 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d68253a4
Parents:
8c7294c6
Message:

Fix register constraints in mips32 libc atomic_add()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/arch/mips32/include/atomic.h

    r8c7294c6 rd2bdd245  
    6565                "       beq %0, %4, 1b\n"       /* if the atomic operation failed, try again */
    6666                /*      nop     */              /* nop is inserted automatically by compiler */
    67                 : "=r" (tmp), "=m" (val->count), "=r" (v)
     67                : "=&r" (tmp), "=m" (val->count), "=&r" (v)
    6868                : "i" (i), "i" (0)
    6969                );
Note: See TracChangeset for help on using the changeset viewer.