fix compilation after merge
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / s390 / lib / uaccess.h
1 /*
2 * Copyright IBM Corp. 2007
3 *
4 */
5
6 #ifndef __ARCH_S390_LIB_UACCESS_H
7 #define __ARCH_S390_LIB_UACCESS_H
8
9 extern size_t copy_from_user_std(size_t, const void __user *, void *);
10 extern size_t copy_to_user_std(size_t, void __user *, const void *);
11 extern size_t strnlen_user_std(size_t, const char __user *);
12 extern size_t strncpy_from_user_std(size_t, const char __user *, char *);
13 extern int futex_atomic_cmpxchg_std(u32 *, u32 __user *, u32, u32);
14 extern int futex_atomic_op_std(int, u32 __user *, int, int *);
15
16 extern size_t copy_from_user_pt(size_t, const void __user *, void *);
17 extern size_t copy_to_user_pt(size_t, void __user *, const void *);
18 extern int futex_atomic_op_pt(int, u32 __user *, int, int *);
19 extern int futex_atomic_cmpxchg_pt(u32 *, u32 __user *, u32, u32);
20
21 #endif /* __ARCH_S390_LIB_UACCESS_H */