|
@@ -21,7 +21,7 @@ do { \
|
|
|
unsigned long dummy; \
|
|
|
\
|
|
|
typecheck(atomic_t *, v); \
|
|
|
- typecheck_fn(fastcall void (*)(atomic_t *), fail_fn); \
|
|
|
+ typecheck_fn(void (*)(atomic_t *), fail_fn); \
|
|
|
\
|
|
|
__asm__ __volatile__( \
|
|
|
LOCK_PREFIX " decl (%%rdi) \n" \
|
|
@@ -47,7 +47,7 @@ do { \
|
|
|
*/
|
|
|
static inline int
|
|
|
__mutex_fastpath_lock_retval(atomic_t *count,
|
|
|
- int fastcall (*fail_fn)(atomic_t *))
|
|
|
+ int (*fail_fn)(atomic_t *))
|
|
|
{
|
|
|
if (unlikely(atomic_dec_return(count) < 0))
|
|
|
return fail_fn(count);
|
|
@@ -67,7 +67,7 @@ do { \
|
|
|
unsigned long dummy; \
|
|
|
\
|
|
|
typecheck(atomic_t *, v); \
|
|
|
- typecheck_fn(fastcall void (*)(atomic_t *), fail_fn); \
|
|
|
+ typecheck_fn(void (*)(atomic_t *), fail_fn); \
|
|
|
\
|
|
|
__asm__ __volatile__( \
|
|
|
LOCK_PREFIX " incl (%%rdi) \n" \
|