Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 626 → Rev 627

/kernel/trunk/arch/mips32/include/atomic.h
50,9 → 50,9
*
* @return Value after addition.
*/
static inline atomic_t atomic_add(atomic_t *val, int i)
static inline count_t atomic_add(atomic_t *val, int i)
{
atomic_t tmp, v;
count_t tmp, v;
 
__asm__ volatile (
"1:\n"