blob: 315dbe09983e518b06326b2f730c45a176a57aa5 [file] [log] [blame]
Heiko Carstens2b67fc42007-02-05 21:16:47 +01001/*
Heiko Carstens2b67fc42007-02-05 21:16:47 +01002 * Copyright IBM Corp. 2007
3 *
4 */
5
6#ifndef __ARCH_S390_LIB_UACCESS_H
7#define __ARCH_S390_LIB_UACCESS_H
8
9extern size_t copy_from_user_std(size_t, const void __user *, void *);
10extern size_t copy_to_user_std(size_t, void __user *, const void *);
11extern size_t strnlen_user_std(size_t, const char __user *);
12extern size_t strncpy_from_user_std(size_t, const char __user *, char *);
Michel Lespinasse8d7718a2011-03-10 18:50:58 -080013extern int futex_atomic_cmpxchg_std(u32 *, u32 __user *, u32, u32);
14extern int futex_atomic_op_std(int, u32 __user *, int, int *);
Heiko Carstens2b67fc42007-02-05 21:16:47 +010015
16extern size_t copy_from_user_pt(size_t, const void __user *, void *);
17extern size_t copy_to_user_pt(size_t, void __user *, const void *);
Michel Lespinasse8d7718a2011-03-10 18:50:58 -080018extern int futex_atomic_op_pt(int, u32 __user *, int, int *);
19extern int futex_atomic_cmpxchg_pt(u32 *, u32 __user *, u32, u32);
Heiko Carstens2b67fc42007-02-05 21:16:47 +010020
21#endif /* __ARCH_S390_LIB_UACCESS_H */