//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; |