| commit | a0f08209c685b4f7dccaf013da74e0e80986c477 | [log] [tgz] |
|---|---|---|
| author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | Sat Nov 05 02:02:54 2005 +0900 |
| committer | Ralf Baechle <ralf@linux-mips.org> | Mon Nov 07 18:05:39 2005 +0000 |
| tree | 4226fd9fc00daa4db855ba5df0e12e990f55efe6 | |
| parent | 53c2df2f4ebbc1d8231ca7cc13ac5381230888b1 [diff] |
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>