|
@@ -20,7 +20,7 @@ EXPORT_SYMBOL(_copy_from_user);
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#ifndef INLINE_COPY_TO_USER
|
|
#ifndef INLINE_COPY_TO_USER
|
|
-unsigned long _copy_to_user(void *to, const void __user *from, unsigned long n)
|
|
|
|
|
|
+unsigned long _copy_to_user(void __user *to, const void *from, unsigned long n)
|
|
{
|
|
{
|
|
might_fault();
|
|
might_fault();
|
|
if (likely(access_ok(VERIFY_WRITE, to, n))) {
|
|
if (likely(access_ok(VERIFY_WRITE, to, n))) {
|