diff options
author | Michael S. Tsirkin <[email protected]> | 2013-05-26 17:31:48 +0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-05-28 09:41:09 +0200 |
commit | f8abe86cc4fbd4ba083fd151b88e02fb3ce88b9c (patch) | |
tree | f7217afbeb019956e1244d5ecbd536e023f495bc | |
parent | 1af1717dbf96eba8a74a2d6a99e75a7795075a02 (diff) |
tile: uaccess s/might_sleep/might_fault/
The only reason uaccess routines might sleep
is if they fault. Make this explicit.
Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Chris Metcalf <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r-- | arch/tile/include/asm/uaccess.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/include/asm/uaccess.h b/arch/tile/include/asm/uaccess.h index 8a082bc6bca5..e4d44bd7df27 100644 --- a/arch/tile/include/asm/uaccess.h +++ b/arch/tile/include/asm/uaccess.h @@ -442,7 +442,7 @@ extern unsigned long __copy_in_user_inatomic( static inline unsigned long __must_check __copy_in_user(void __user *to, const void __user *from, unsigned long n) { - might_sleep(); + might_fault(); return __copy_in_user_inatomic(to, from, n); } |