From: Atsushi Nemoto Date: Tue, 14 Feb 2006 06:57:50 +0000 (+0900) Subject: [MIPS] Fixes for uaccess.h with gcc >= 4.0.1 X-Git-Tag: v2.6.16-rc5~66^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ecbbcaf08c13c57d6602472478739d64650ee0e;p=pandora-kernel.git [MIPS] Fixes for uaccess.h with gcc >= 4.0.1 It seems current get_user() incorrectly sign-extend an unsigned int value on 64bit kernel. I think this is because '(__typeof__(val))' cast in final assignment. I suppose the cast should be '(__typeof__(*(addr))'. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed