From: Chris Metcalf Date: Sat, 16 Jun 2012 20:53:06 +0000 (-0400) Subject: tile: fix bug in get_user() for 4-byte values X-Git-Tag: v3.5-rc3~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6699c8cda36f296e315068ed9bbe4f03e6ed4044;p=pandora-kernel.git tile: fix bug in get_user() for 4-byte values The definition of 32-bit values in the 64-bit tilegx architecture is that they should be sign-extended regardless of whether they are considered signed or unsigned by the compiler. Accordingly, we need to use an "ld4s" rather than "ld4u" to load and sign-extend for get_user(). This fixes glibc bug 14238 (see http://sourceware.org/bugzilla), introduced during the 3.5 merge window. Signed-off-by: Chris Metcalf --- Reading git-diff-tree failed