Changeset e4f2656 in mainline


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.)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/include/atomic.h

    r97186929 re4f2656  
    9191                "       sc %0, %1\n"
    9292                "       beqz %0, 1b\n"
     93                "       nop\n"
    9394                "2:\n"
    9495                : "=&r" (tmp),
  • 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.