Sorry, I mixed up my units. All the delays are lower than 100us.
> > The bug is that udelay() can't be passed a variable but only a
> > constant. Therefore bug in udelay().
>
> Sounds like a compiler bug.
>
> #define udelay(n) (__builtin_constant_p(n) ? \
> ((n) > 20000 ? __bad_udelay() : __const_udelay((n) * 0x10c6ul)) : \
> __udelay(n))
>
> non constants are covered.
Therefore, compiler bug. Ouch !
Jean
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/