diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/include/asm/local.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/local.h b/arch/mips/include/asm/local.h index bdcdef02d147..fffc8307a80a 100644 --- a/arch/mips/include/asm/local.h +++ b/arch/mips/include/asm/local.h | |||
@@ -117,7 +117,7 @@ static __inline__ long local_sub_return(long i, local_t * l) | |||
117 | 117 | ||
118 | #define local_cmpxchg(l, o, n) \ | 118 | #define local_cmpxchg(l, o, n) \ |
119 | ((long)cmpxchg_local(&((l)->a.counter), (o), (n))) | 119 | ((long)cmpxchg_local(&((l)->a.counter), (o), (n))) |
120 | #define local_xchg(l, n) (xchg_local(&((l)->a.counter), (n))) | 120 | #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n))) |
121 | 121 | ||
122 | /** | 122 | /** |
123 | * local_add_unless - add unless the number is a given value | 123 | * local_add_unless - add unless the number is a given value |