Marcelo Tosatti <[EMAIL PROTECTED]> said:
> 2.2.18pre15 defines udelay as (in file include/asm-i386/delay.h) :
>
> ...
>
> extern void __bad_udelay(void);
>
> ...
>
> #define udelay(n) (__builtin_constant_p(n) ? \
> ((n) > 20000 ? __bad_udelay() : __const_udelay((n) *
> 0x10c6ul)) : \
> __udelay(n))
>
> ...
>
>
> It seems __bad_udelay is not defined anywhere in the kernel source.
That is precisely the idea: Flag the places where udelay() is called with a
large constant value. Just won't find out uses with large _variable_
arguments, but it is a start. Netted one in PCMCIA-CS...
--
Horst von Brand [EMAIL PROTECTED]
Casilla 9G, Vin~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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/