git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
include
/
asm-ppc64
/
uaccess.h
diff --git
a/include/asm-ppc64/uaccess.h
b/include/asm-ppc64/uaccess.h
index
58eec53
..
e5cdda1
100644
(file)
--- a/
include/asm-ppc64/uaccess.h
+++ b/
include/asm-ppc64/uaccess.h
@@
-244,7
+244,7
@@
__copy_from_user(void *to, const void __user *from, unsigned long n)
return ret;
}
}
return ret;
}
}
- return __copy_tofrom_user((void __user *) to, from, n);
+ return __copy_tofrom_user((
__force
void __user *) to, from, n);
}
static inline unsigned long
}
static inline unsigned long
@@
-269,7
+269,7
@@
__copy_to_user(void __user *to, const void *from, unsigned long n)
return ret;
}
}
return ret;
}
}
- return __copy_tofrom_user(to, (const void __user *) from, n);
+ return __copy_tofrom_user(to, (
__force
const void __user *) from, n);
}
#define __copy_in_user(to, from, size) \
}
#define __copy_in_user(to, from, size) \