blob: 9a0e9026ba5ea5c4abc2f449e1441c1fa6b1fbfe [file] [log] [blame]
Jakub Jelinek4732efb2005-09-06 15:16:25 -07001#ifndef _ASM_FUTEX_H
2#define _ASM_FUTEX_H
3
4#ifdef __KERNEL__
5
6#include <linux/futex.h>
7#include <asm/errno.h>
8#include <asm/uaccess.h>
9
David Howells5c40f7f2006-01-06 00:11:43 -080010extern int futex_atomic_op_inuser(int encoded_op, int __user *uaddr);
Jakub Jelinek4732efb2005-09-06 15:16:25 -070011
Ingo Molnare9056f12006-03-27 01:16:21 -080012static inline int
13futex_atomic_cmpxchg_inuser(int __user *uaddr, int oldval, int newval)
14{
15 return -ENOSYS;
16}
17
Jakub Jelinek4732efb2005-09-06 15:16:25 -070018#endif
19#endif