aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/futex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/futex.h')
-rw-r--r--include/asm-powerpc/futex.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-powerpc/futex.h b/include/asm-powerpc/futex.h
index 39e85f320a76..f1b3c00bc1ce 100644
--- a/include/asm-powerpc/futex.h
+++ b/include/asm-powerpc/futex.h
@@ -81,5 +81,11 @@ static inline int futex_atomic_op_inuser (int encoded_op, int __user *uaddr)
return ret;
}
+static inline int
+futex_atomic_cmpxchg_inatomic(int __user *uaddr, int oldval, int newval)
+{
+ return -ENOSYS;
+}
+
#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_FUTEX_H */