]> Pileus Git - ~andy/linux/blobdiff - arch/tile/include/asm/uaccess.h
tile: uaccess s/might_sleep/might_fault/
[~andy/linux] / arch / tile / include / asm / uaccess.h
index 8a082bc6bca57153efb53d69fc36068a9741f0ff..e4d44bd7df271f6b5445f5e7d5e593fe69cc58c7 100644 (file)
@@ -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);
 }