]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commita0f08209c685b4f7dccaf013da74e0e80986c477
tree4226fd9fc00daa4db855ba5df0e12e990f55efe6
parent53c2df2f4ebbc1d8231ca7cc13ac5381230888b1
Define MAX_UDELAY_MS

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>
include/asm-mips/delay.h