Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_FUTEX_H
3#define _ASM_FUTEX_H
4
5#ifdef __KERNEL__
6
7#include <linux/futex.h>
8#include <asm/errno.h>
9#include <linux/uaccess.h>
10
11extern int arch_futex_atomic_op_inuser(int op, int oparg, int *oval,
12 u32 __user *uaddr);
13
14static inline int
15futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr,
16 u32 oldval, u32 newval)
17{
18 return -ENOSYS;
19}
20
21#endif
22#endif