kernel/arch/mips/include/asm/atomic.h
.. .. @@ -203,7 +203,7 @@ 203 203 * The function returns the old value of @v minus @i. 204 204 */ 205 205 #define ATOMIC_SIP_OP(pfx, type, op, ll, sc) \ 206 -static __inline__ int pfx##_sub_if_positive(type i, pfx##_t * v) \206 +static __inline__ type pfx##_sub_if_positive(type i, pfx##_t * v) \207 207 { \ 208 208 type temp, result; \ 209 209 \