x86: uaccess: return value of __{get|put}_user() can be int
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Tue, 9 Dec 2008 03:18:38 +0000 (19:18 -0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 12 Dec 2008 10:54:43 +0000 (11:54 +0100)
commit16855f878d7127a8bb3925753463485f3071ad76
tree7d749e52c56ce344f0952d39ec510bc5488e26c0
parente18d7af85296cb6999aae171e8a9f8612bea5ae0
x86: uaccess: return value of __{get|put}_user() can be int

Impact: cleanup

The type of return value of __{get|put}_user() can be int.
There is no user to refer the return value of __{get|put}_user() as long.
This reduces code size a bit on 64-bit.

 $ size vmlinux.*
     text    data     bss     dec     hex filename
  4509265  479988  673588 5662841  566879 vmlinux.new
  4511462  479988  673588 5665038  56710e vmlinux.old

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/uaccess.h