hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/mips/include/asm/atomic.h
....@@ -203,7 +203,7 @@
203203 * The function returns the old value of @v minus @i.
204204 */
205205 #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) \
207207 { \
208208 type temp, result; \
209209 \