]> git.ipfire.org Git - people/ms/linux.git/blobdiff - arch/x86/lib/usercopy.c
x86/uaccess: avoid check_object_size() in copy_from_user_nmi()
[people/ms/linux.git] / arch / x86 / lib / usercopy.c
index ad0139d254014244050e5873f09cfe231fe3d936..f1bb1861715621dd7136136f46bf223dc68e550d 100644 (file)
@@ -44,7 +44,7 @@ copy_from_user_nmi(void *to, const void __user *from, unsigned long n)
         * called from other contexts.
         */
        pagefault_disable();
-       ret = __copy_from_user_inatomic(to, from, n);
+       ret = raw_copy_from_user(to, from, n);
        pagefault_enable();
 
        return ret;