Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4ed3a77f38c023658784804cb39a7ce18063dc88 Commit: 4ed3a77f38c023658784804cb39a7ce18063dc88 Parent: 761fc19bdbe33ea8b7b88b88c7ca149a57a9e6b6 Author: Ralf Baechle <[EMAIL PROTECTED]> AuthorDate: Sat Feb 10 21:43:54 2007 +0000 Committer: Ralf Baechle <[EMAIL PROTECTED]> CommitDate: Sat Feb 10 22:38:44 2007 +0000
[MIPS] Fix warning in get_user when fetching pointer object from userspace. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> --- include/asm-mips/uaccess.h | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/include/asm-mips/uaccess.h b/include/asm-mips/uaccess.h index c12ebc5..825fcbd 100644 --- 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; \ } /* - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html