[MIPS] time: Fix cevt-r4k.c for 64-bit kernel
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Tue, 23 Oct 2007 12:51:19 +0000 (21:51 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 29 Oct 2007 19:35:35 +0000 (19:35 +0000)
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>
arch/mips/kernel/cevt-r4k.c

Simple merge