mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
Change futex_atomic_op_inuser and futex_atomic_cmpxchg_inatomic prototypes to use u32 types for the futex as this is the data type the futex core code uses all over the place. Signed-off-by: Michel Lespinasse <[email protected]> Cc: Darren Hart <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Matt Turner <[email protected]> Cc: Russell King <[email protected]> Cc: David Howells <[email protected]> Cc: Tony Luck <[email protected]> Cc: Michal Simek <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: "James E.J. Bottomley" <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Martin Schwidefsky <[email protected]> Cc: Paul Mundt <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Chris Metcalf <[email protected]> Cc: Linus Torvalds <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
24 lines
852 B
C
24 lines
852 B
C
/*
|
|
* arch/s390/uaccess.h
|
|
*
|
|
* Copyright IBM Corp. 2007
|
|
*
|
|
*/
|
|
|
|
#ifndef __ARCH_S390_LIB_UACCESS_H
|
|
#define __ARCH_S390_LIB_UACCESS_H
|
|
|
|
extern size_t copy_from_user_std(size_t, const void __user *, void *);
|
|
extern size_t copy_to_user_std(size_t, void __user *, const void *);
|
|
extern size_t strnlen_user_std(size_t, const char __user *);
|
|
extern size_t strncpy_from_user_std(size_t, const char __user *, char *);
|
|
extern int futex_atomic_cmpxchg_std(u32 *, u32 __user *, u32, u32);
|
|
extern int futex_atomic_op_std(int, u32 __user *, int, int *);
|
|
|
|
extern size_t copy_from_user_pt(size_t, const void __user *, void *);
|
|
extern size_t copy_to_user_pt(size_t, void __user *, const void *);
|
|
extern int futex_atomic_op_pt(int, u32 __user *, int, int *);
|
|
extern int futex_atomic_cmpxchg_pt(u32 *, u32 __user *, u32, u32);
|
|
|
|
#endif /* __ARCH_S390_LIB_UACCESS_H */
|