MIPS: Optimize get_user and put_user for 64-bit
authorRalf Baechle <ralf@linux-mips.org>
Sat, 11 Oct 2008 15:18:50 +0000 (16:18 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 11 Oct 2008 15:18:50 +0000 (16:18 +0100)
commit8d2d91e86b4153cc2305ec86fe908048f459ff7f
tree07c64a1267d2b6f07da7b4be340e8823baea85a4
parentb6263ff2d6e58cc2fe615219ab2a06778b5e6cef
MIPS: Optimize get_user and put_user for 64-bit

A long for the error value leads to unnecessary sign extensions.  This
patch shrinks an ip27_defconfig kernel build with gcc 4.3.0 by 2256 bytes.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/uaccess.h