Messages in this thread | | | Subject | Re: __bad_udelay in 2.2.18pre15 | From | Marcus Sundberg <> | Date | 10 Oct 2000 23:40:16 +0200 |
| |
Marcelo Tosatti <marcelo@conectiva.com.br> writes:
> 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.
Which is the whole point - you wouldn't want to call a bad function, would you? If you reference __bad_udelay() you are doing something wrong and should be using mdelay() instead.
//Marcus -- -------------------------------+------------------------------------ Marcus Sundberg | http://www.stacken.kth.se/~mackan Royal Institute of Technology | Phone: +46 707 452062 Stockholm, Sweden | E-Mail: mackan@stacken.kth.se - 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/
| |