mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 09:41:44 +00:00
5c40f7f373
The attached patch implements futex operations for the FRV architecture. The operations are applicable to both MMU and no-MMU modes; though the EFAULT handling will be a little bit of wasted space on the latter. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
14 lines
221 B
C
14 lines
221 B
C
#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);
|
|
|
|
#endif
|
|
#endif
|