From: Pauline Middelink <middelink@polyware.nl>
To: linux-kernel@vger.kernel.org
Subject: Re: linux-2.2.18-pre19 asm/delay.h problem?
Date: Wed, 22 Nov 2000 16:48:42 +0100 [thread overview]
Message-ID: <20001122164842.A3420@polyware.nl> (raw)
In-Reply-To: <E13yNHb-0005O4-00@the-village.bc.nu> <200011220957.KAA26634@cave.bitwizard.nl>
In-Reply-To: <200011220957.KAA26634@cave.bitwizard.nl>; from R.E.Wolff@BitWizard.nl on Wed, Nov 22, 2000 at 10:57:53AM +0100
On Wed, 22 Nov 2000 around 10:57:53 +0100, Rogier Wolff wrote:
[skip]
> .... Inside a #if 0. This question keeps on popping up, and people
> seem to be able to grep for definitions of stuff well enough. Then
> near the definition you can explain this. It's a form of documenting
> this "trick"...
>
> #if 0
> /* Note: This definition is not for real. The idea about __bad_udelay is
> that you get a compile-time error if you call udelay with a number of
> microseconds that is too large for udelay. There is mdelay if you need
> delays on the order of miliseconds. Please update the places where
> udelay is called with this large constant!
>
> If you change the #if 0 to #if 1, the stuff you're trying to compile will
> compile, but you'll crash your system when it's used.
> */
>
> #define __bad_udelay() panic("Udelay called with too large a constant")
> #endif
I want to bed that somebody will post a "fix" which will patch
the #if 0 to 1. :)
Met vriendelijke groet,
Pauline Middelink
--
PGP Key fingerprint = DE 6B D0 D9 19 AD A7 A0 58 A3 06 9D B6 34 39 E2
For more details look at my website http://www.polyware.nl/~middelink
-
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/
next prev parent reply other threads:[~2000-11-22 16:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-21 23:51 linux-2.2.18-pre19 asm/delay.h problem? jpranevich
2000-11-21 23:57 ` Alan Cox
2000-11-22 2:16 ` Peter Samuelson
2000-11-22 9:57 ` Rogier Wolff
2000-11-22 15:48 ` Pauline Middelink [this message]
2000-11-22 17:04 ` Igmar Palsenberg
2000-11-22 16:49 ` Andreas Schwab
2000-11-22 23:43 ` Igmar Palsenberg
2000-11-22 22:52 ` Alan Cox
2000-11-23 10:10 ` David Woodhouse
2000-11-24 17:15 ` Oliver Xymoron
2000-11-24 17:41 ` Jeff Epler
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=20001122164842.A3420@polyware.nl \
--to=middelink@polyware.nl \
--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