summaryrefslogtreecommitdiff
path: root/arch/mips/math-emu/sp_modf.c
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2007-10-23 21:51:19 +0900
committerRalf Baechle <ralf@linux-mips.org>2007-10-29 19:35:35 +0000
commitc637fecb4fe67e2baccef24b9b7e9cb79ee23cf8 (patch)
tree810f5187068e12aacf7d69ddbdb63939dbf26864 /arch/mips/math-emu/sp_modf.c
parent11ca25aa312d912c192ccfd5781669d794126118 (diff)
[MIPS] time: Fix cevt-r4k.c for 64-bit kernel
The expression "(long)(read_c0_count() - cnt)" can never be a negative value on 64-bit kernel. Cast to "int" before comparison. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu/sp_modf.c')
0 files changed, 0 insertions, 0 deletions