projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ccec1b
)
[PATCH] kill bogus casts in amd64 uaccess.h
author
Al Viro
<viro@ftp.linux.org.uk>
Wed, 14 Mar 2007 09:20:20 +0000
(09:20 +0000)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Wed, 14 Mar 2007 22:27:50 +0000
(15:27 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-x86_64/uaccess.h
patch
|
blob
|
history
diff --git
a/include/asm-x86_64/uaccess.h
b/include/asm-x86_64/uaccess.h
index
1981f70
..
9df30b9
100644
(file)
--- a/
include/asm-x86_64/uaccess.h
+++ b/
include/asm-x86_64/uaccess.h
@@
-373,12
+373,12
@@
extern long __copy_user_nocache(void *dst, const void __user *src, unsigned size
static inline int __copy_from_user_nocache(void *dst, const void __user *src, unsigned size)
{
might_sleep();
- return __copy_user_nocache(dst,
(__force void *)
src, size, 1);
+ return __copy_user_nocache(dst, src, size, 1);
}
static inline int __copy_from_user_inatomic_nocache(void *dst, const void __user *src, unsigned size)
{
- return __copy_user_nocache(dst,
(__force void *)
src, size, 0);
+ return __copy_user_nocache(dst, src, size, 0);
}
#endif /* __X86_64_UACCESS_H */