summaryrefslogtreecommitdiff
path: root/include/asm-x86_64/futex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86_64/futex.h')
-rw-r--r--include/asm-x86_64/futex.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-x86_64/futex.h b/include/asm-x86_64/futex.h
index 8602c09bf89e..4f4cb3410d06 100644
--- a/include/asm-x86_64/futex.h
+++ b/include/asm-x86_64/futex.h
@@ -94,5 +94,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