Merge tag 'for-5.15/io_uring-2021-09-04' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / arch / mips / include / asm / atomic.h
index 95e1f7f..a0b9e7c 100644 (file)
@@ -206,7 +206,7 @@ ATOMIC_OPS(atomic64, xor, s64, ^=, xor, lld, scd)
  * The function returns the old value of @v minus @i.
  */
 #define ATOMIC_SIP_OP(pfx, type, op, ll, sc)                           \
-static __inline__ int arch_##pfx##_sub_if_positive(type i, pfx##_t * v)        \
+static __inline__ type arch_##pfx##_sub_if_positive(type i, pfx##_t * v)       \
 {                                                                      \
        type temp, result;                                              \
                                                                        \