summaryrefslogtreecommitdiffstats
path: root/arch/frv/include/asm/futex.h
blob: dfcc3484231d44b4d6c3f41b2078bb5cccf81fa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_FUTEX_H
#define _ASM_FUTEX_H

#ifdef __KERNEL__

#include <linux/futex.h>
#include <asm/errno.h>
#include <linux/uaccess.h>

extern int arch_futex_atomic_op_inuser(int op, int oparg, int *oval,
		u32 __user *uaddr);

static inline int
futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr,
			      u32 oldval, u32 newval)
{
	return -ENOSYS;
}

#endif
#endif
OpenPOWER on IntegriCloud