index 575b9db94e0a0bf9dce5a3af65a0b0cca84fdf0b..7fe6a153b4c38783d093378237120c4ae0ffc785 100644 (file)
" xchgb %0,%1 \n"
"1: \n"
: "+q"(_res), "+m"(*lock)
-:
+: /* no inputs */
: "memory", "cc");
return (int) _res;
}
" lock \n"
" xchgb %0,%1 \n"
: "+q"(_res), "+m"(*lock)
-:
+: /* no inputs */
: "memory", "cc");
return (int) _res;
}
" tas %1 \n"
" sne %0 \n"
: "=d"(rv), "+m"(*lock)
-:
+: /* no inputs */
: "memory", "cc");
return rv;
}
" sync \n"
" .set pop "
: "=&r" (_res), "=&r" (_tmp), "+R" (*_l)
-:
+: /* no inputs */
: "memory");
return _res;
}
" .set nomacro \n" \
" sync \n" \
" .set pop " \
-: \
+: /* no outputs */ \
+: /* no inputs */ \
: "memory"); \
*((volatile slock_t *) (lock)) = 0; \
} while (0)