Changeset e4f2656 in mainline for uspace


Ignore:
Timestamp:
2011-04-06T08:01:04Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
55132b8
Parents:
97186929
Message:

Put an explicit nop after the last, branch instruction in inline asm.
(Noticed by Petr Koupy.)

File:
1 edited

Legend:

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

    r97186929 re4f2656  
    7070                "       sc %0, %1\n"
    7171                "       beq %0, %4, 1b\n"       /* if the atomic operation failed, try again */
    72                 /*      nop     */              /* nop is inserted automatically by compiler */
    7372                "       nop\n"
    7473                : "=&r" (tmp),
Note: See TracChangeset for help on using the changeset viewer.