futex.h 334 字节
Newer Older
1 2 3 4 5 6 7 8 9
#ifndef _ASM_FUTEX_H
#define _ASM_FUTEX_H

#ifdef __KERNEL__

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

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

12
static inline int
13
futex_atomic_cmpxchg_inatomic(int __user *uaddr, int oldval, int newval)
14 15 16 17
{
	return -ENOSYS;
}

18 19
#endif
#endif