Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2071 → Rev 2744

/trunk/kernel/arch/mips32/include/atomic.h
55,7 → 55,7
{
long tmp, v;
 
__asm__ volatile (
asm volatile (
"1:\n"
" ll %0, %1\n"
" addiu %0, %0, %3\n" /* same as addi, but never traps on overflow */