diff options
Diffstat (limited to 'include/asm-generic/mutex-null.h')
| -rw-r--r-- | include/asm-generic/mutex-null.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-generic/mutex-null.h b/include/asm-generic/mutex-null.h index 254a126ede5..61069ed334e 100644 --- a/include/asm-generic/mutex-null.h +++ b/include/asm-generic/mutex-null.h @@ -1,5 +1,5 @@ /* - * asm-generic/mutex-null.h + * include/asm-generic/mutex-null.h * * Generic implementation of the mutex fastpath, based on NOP :-) * @@ -11,7 +11,7 @@ #define _ASM_GENERIC_MUTEX_NULL_H #define __mutex_fastpath_lock(count, fail_fn) fail_fn(count) -#define __mutex_fastpath_lock_retval(count, fail_fn) fail_fn(count) +#define __mutex_fastpath_lock_retval(count) (-1) #define __mutex_fastpath_unlock(count, fail_fn) fail_fn(count) #define __mutex_fastpath_trylock(count, fail_fn) fail_fn(count) #define __mutex_slowpath_needs_to_unlock() 1 |
