aboutsummaryrefslogtreecommitdiff
path: root/include/asm-frv/futex.h
blob: 9a0e9026ba5ea5c4abc2f449e1441c1fa6b1fbfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _ASM_FUTEX_H
#define _ASM_FUTEX_H

#ifdef __KERNEL__

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

extern int futex_atomic_op_inuser(int encoded_op, int __user *uaddr);

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

#endif
#endif