| commit | 8ecbbcaf08c13c57d6602472478739d64650ee0e | [log] [tgz] |
|---|---|---|
| author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | Tue Feb 14 15:57:50 2006 +0900 |
| committer | Ralf Baechle <ralf@linux-mips.org> | Tue Feb 21 16:58:22 2006 +0000 |
| tree | c59cf7f91e45bf95f7e9b85f43d524f3cf627505 | |
| parent | 36ccf1c0e3917f1f73abc17c38ad704c59f8d1b6 [diff] |
[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 <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>