diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2006-02-14 01:57:50 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-02-21 11:58:22 -0500 |
commit | 8ecbbcaf08c13c57d6602472478739d64650ee0e (patch) | |
tree | c59cf7f91e45bf95f7e9b85f43d524f3cf627505 /arch/mips/kernel/cpu-bugs64.c | |
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>
Diffstat (limited to 'arch/mips/kernel/cpu-bugs64.c')
0 files changed, 0 insertions, 0 deletions