Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 1692 → Rev 1697

//kernel/trunk/arch/amd64/include/atomic.h
56,7 → 56,7
 
__asm__ volatile (
"lock xaddq %1, %0\n"
: "=m" (val->count) : "r" (r)
: "=m" (val->count), "+r" (r)
);
 
return r;
68,7 → 68,7
__asm__ volatile (
"lock xaddq %1, %0\n"
: "=m" (val->count) : "r" (r)
: "=m" (val->count), "+r" (r)
);
return r;