Define MAX_UDELAY_MS
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Fri, 4 Nov 2005 17:02:54 +0000 (02:02 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 7 Nov 2005 18:05:39 +0000 (18:05 +0000)
If HZ was 1000, mdelay(2) cause overflow on multiplication in
__udelay.  We should define MAX_UDELAY_MS properly to prevent this.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

No differences found