Heiko Carstens | 2b67fc4 | 2007-02-05 21:16:47 +0100 | [diff] [blame] | 1 | /* |
| 2 | * arch/s390/uaccess.h |
| 3 | * |
| 4 | * Copyright IBM Corp. 2007 |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #ifndef __ARCH_S390_LIB_UACCESS_H |
| 9 | #define __ARCH_S390_LIB_UACCESS_H |
| 10 | |
| 11 | extern size_t copy_from_user_std(size_t, const void __user *, void *); |
| 12 | extern size_t copy_to_user_std(size_t, void __user *, const void *); |
| 13 | extern size_t strnlen_user_std(size_t, const char __user *); |
| 14 | extern size_t strncpy_from_user_std(size_t, const char __user *, char *); |
Michel Lespinasse | 8d7718a | 2011-03-10 18:50:58 -0800 | [diff] [blame] | 15 | extern int futex_atomic_cmpxchg_std(u32 *, u32 __user *, u32, u32); |
| 16 | extern int futex_atomic_op_std(int, u32 __user *, int, int *); |
Heiko Carstens | 2b67fc4 | 2007-02-05 21:16:47 +0100 | [diff] [blame] | 17 | |
| 18 | extern size_t copy_from_user_pt(size_t, const void __user *, void *); |
| 19 | extern size_t copy_to_user_pt(size_t, void __user *, const void *); |
Michel Lespinasse | 8d7718a | 2011-03-10 18:50:58 -0800 | [diff] [blame] | 20 | extern int futex_atomic_op_pt(int, u32 __user *, int, int *); |
| 21 | extern int futex_atomic_cmpxchg_pt(u32 *, u32 __user *, u32, u32); |
Heiko Carstens | 2b67fc4 | 2007-02-05 21:16:47 +0100 | [diff] [blame] | 22 | |
| 23 | #endif /* __ARCH_S390_LIB_UACCESS_H */ |