projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
761fc19
)
[MIPS] Fix warning in get_user when fetching pointer object from userspace.
author
Ralf Baechle
<ralf@linux-mips.org>
Sat, 10 Feb 2007 21:43:54 +0000
(21:43 +0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Sat, 10 Feb 2007 22:38:44 +0000
(22:38 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/uaccess.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-mips/uaccess.h
b/include/asm-mips/uaccess.h
index c12ebc53ef317f4ac6bcd146736b65bde0f4243f..825fcbd9eabd30e0924002bc3a039ae2ace4d5ab 100644
(file)
--- a/
include/asm-mips/uaccess.h
+++ b/
include/asm-mips/uaccess.h
@@
-265,8
+265,6
@@
do { \
*/
#define __get_user_asm_ll32(val, addr) \
{ \
- unsigned long long __gu_tmp; \
- \
__asm__ __volatile__( \
"1: lw %1, (%3) \n" \
"2: lw %D1, 4(%3) \n" \
@@
-281,9
+279,8
@@
do { \
" " __UA_ADDR " 1b, 4b \n" \
" " __UA_ADDR " 2b, 4b \n" \
" .previous \n" \
- : "=r" (__gu_err), "=&r" (
__gu_tmp)
\
+ : "=r" (__gu_err), "=&r" (
val)
\
: "0" (0), "r" (addr), "i" (-EFAULT)); \
- (val) = (__typeof__(*(addr))) __gu_tmp; \
}
/*