[PATCH] lightweight robust futexes: arch defaults
[firefly-linux-kernel-4.4.55.git] / include / asm-generic / futex.h
index 3ae2c73475490dce46039b7964b1c91d6cb91180..514bd401cd7e07fe50bc42a28f6c257ce2b0f973 100644 (file)
@@ -49,5 +49,11 @@ futex_atomic_op_inuser (int encoded_op, int __user *uaddr)
        return ret;
 }
 
+static inline int
+futex_atomic_cmpxchg_inuser(int __user *uaddr, int oldval, int newval)
+{
+       return -ENOSYS;
+}
+
 #endif
 #endif