[lkml]   [2001]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Bad udelay usage in drivers/net/aironet4500_card.c
H . J . Lu wrote:
> In 2.4.4, drivers/net/aironet4500_card.c has

> udelay(100000);
> udelay(200000);
> udelay(250000);

> But on ia32, you cannot use more than 20000 for udelay (). You will get
> undefined symbol, __bad_udelay.

mv driver.c driver.c~
sed 's/udelay\( *\)(\([1-9][0-9]*\)000)/mdelay\1(\2)/' <driver.c~>driver.c

...keeps foo(...) or foo (...) as per original author's taste.
^ ^

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:53    [W:0.033 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site