projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SPARC64]: Add 'hypervisor' to ultra_tlb_type enumeration.
[powerpc.git]
/
include
/
asm-i386
/
uaccess.h
diff --git
a/include/asm-i386/uaccess.h
b/include/asm-i386/uaccess.h
index
89ab7e2
..
3f1337c
100644
(file)
--- a/
include/asm-i386/uaccess.h
+++ b/
include/asm-i386/uaccess.h
@@
-411,7
+411,7
@@
unsigned long __must_check __copy_from_user_ll(void *to,
* Returns number of bytes that could not be copied.
* On success, this will be zero.
*/
* Returns number of bytes that could not be copied.
* On success, this will be zero.
*/
-static inline unsigned long __must_check
+static
__always_
inline unsigned long __must_check
__copy_to_user_inatomic(void __user *to, const void *from, unsigned long n)
{
if (__builtin_constant_p(n)) {
__copy_to_user_inatomic(void __user *to, const void *from, unsigned long n)
{
if (__builtin_constant_p(n)) {
@@
-432,7
+432,7
@@
__copy_to_user_inatomic(void __user *to, const void *from, unsigned long n)
return __copy_to_user_ll(to, from, n);
}
return __copy_to_user_ll(to, from, n);
}
-static inline unsigned long __must_check
+static
__always_
inline unsigned long __must_check
__copy_to_user(void __user *to, const void *from, unsigned long n)
{
might_sleep();
__copy_to_user(void __user *to, const void *from, unsigned long n)
{
might_sleep();
@@
-456,7
+456,7
@@
__copy_to_user(void __user *to, const void *from, unsigned long n)
* If some data could not be copied, this function will pad the copied
* data to the requested size using zero bytes.
*/
* If some data could not be copied, this function will pad the copied
* data to the requested size using zero bytes.
*/
-static inline unsigned long
+static
__always_
inline unsigned long
__copy_from_user_inatomic(void *to, const void __user *from, unsigned long n)
{
if (__builtin_constant_p(n)) {
__copy_from_user_inatomic(void *to, const void __user *from, unsigned long n)
{
if (__builtin_constant_p(n)) {
@@
-477,7
+477,7
@@
__copy_from_user_inatomic(void *to, const void __user *from, unsigned long n)
return __copy_from_user_ll(to, from, n);
}
return __copy_from_user_ll(to, from, n);
}
-static inline unsigned long
+static
__always_
inline unsigned long
__copy_from_user(void *to, const void __user *from, unsigned long n)
{
might_sleep();
__copy_from_user(void *to, const void __user *from, unsigned long n)
{
might_sleep();