Re: patch: delay_50ms() in ide-probe.c in 2.2.14

From: Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Date: Sun Feb 20 2000 - 09:54:27 EST


<arijort@valinux.com> said:

[...]

> --- drivers/block/ide-probe.c.orig Sun Feb 20 00:46:54 2000
> +++ drivers/block/ide-probe.c Sun Feb 20 07:28:32 2000
> @@ -154,8 +154,7 @@
> */
> static void delay_50ms (void)
> {
> - unsigned long timeout = jiffies + ((HZ + 19)/20) + 1;
> - while (0 < (signed long)(timeout - jiffies));
> + while (0 < (signed long)((HZ + 39)/20));

jiffies is changed elsewhere, when the clock ticks.

-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:25 EST