xref: /openbmc/linux/arch/um/include/asm/futex.h (revision 762f99f4f3cb41a775b5157dd761217beba65873)
1*dd3035a2SAnton Ivanov /* SPDX-License-Identifier: GPL-2.0 */
2*dd3035a2SAnton Ivanov #ifndef _ASM_UM_FUTEX_H
3*dd3035a2SAnton Ivanov #define _ASM_UM_FUTEX_H
4*dd3035a2SAnton Ivanov 
5*dd3035a2SAnton Ivanov #include <linux/futex.h>
6*dd3035a2SAnton Ivanov #include <linux/uaccess.h>
7*dd3035a2SAnton Ivanov #include <asm/errno.h>
8*dd3035a2SAnton Ivanov 
9*dd3035a2SAnton Ivanov 
10*dd3035a2SAnton Ivanov int arch_futex_atomic_op_inuser(int op, u32 oparg, int *oval, u32 __user *uaddr);
11*dd3035a2SAnton Ivanov int futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr,
12*dd3035a2SAnton Ivanov 			      u32 oldval, u32 newval);
13*dd3035a2SAnton Ivanov 
14*dd3035a2SAnton Ivanov #endif
15