[PATCH] x86-64: Remove fastcall references in x86_64 code
[sfrench/cifs-2.6.git] / include / asm-x86_64 / mutex.h
index 16396b1de3e44e2068021f446d8b56f3b6f79448..6c2949a3c677bad80981fd593acb8d7da0e9cf10 100644 (file)
@@ -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"                     \