From: Paul Gortmaker <p_gortmaker@yahoo.com>
To: "H . J . Lu" <hjl@lucon.org>
Cc: linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: Bad udelay usage in drivers/net/aironet4500_card.c
Date: Sat, 19 May 2001 03:45:19 -0400 [thread overview]
Message-ID: <3B06248F.D788B13@yahoo.com> (raw)
In-Reply-To: <20010515143707.A18074@lucon.org>
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.
^ ^
Paul.
next prev parent reply other threads:[~2001-05-19 7:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-15 21:37 Bad udelay usage in drivers/net/aironet4500_card.c H . J . Lu
2001-05-19 7:45 ` Paul Gortmaker [this message]
[not found] <20010516123312.978.qmail@web4303.mail.yahoo.com>
2001-05-16 15:52 ` H . J . Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3B06248F.D788B13@yahoo.com \
--to=p_gortmaker@yahoo.com \
--cc=hjl@lucon.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox