X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-powerpc%2Ffutex.h;h=f1b3c00bc1ce8d8ca0254f57cc76ac6d648820ae;hb=2833c28aa0d0326780acfa61149a2a02dcb2c9b4;hp=39e85f320a76e74d010e8ce76bcec130b16245a7;hpb=59af70385fb125f819d953801b6c45629836e916;p=powerpc.git diff --git a/include/asm-powerpc/futex.h b/include/asm-powerpc/futex.h index 39e85f320a..f1b3c00bc1 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 */