[MIPS] time: Make c0_compare_int_usable more bullet proof
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Mon, 22 Oct 2007 16:14:06 +0000 (01:14 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 22 Oct 2007 21:09:01 +0000 (22:09 +0100)
commitdab969c00b8bee17a47057bbb91cd0a348cf6f76
tree2cd88edd3304c3a2d5c7b421ba782f08958b0b94
parent17f690be454de447d8ddc586fa418ebfdb200966
[MIPS] time: Make c0_compare_int_usable more bullet proof

Use write_c0_compare(read_c0_count()) to clear interrupt.

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