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