Subject: Re: Detecting boot time
To: Lennart Augustsson <email@example.com>
From: Jason Thorpe <firstname.lastname@example.org>
Date: 09/15/1999 10:06:44
On Wed, 15 Sep 1999 10:36:12 +0200 (CEST)
Lennart Augustsson <email@example.com> wrote:
> Is there a way (in kernel code) to detect if the kernel is in
> the boot part or running normally?
> I want to know because during boot the interrups are disabled
> and you need to poll for completion, whereas during normal
> execution interrupts work.
There's not really a nice way to do that right now.
What I'd like to do instead is make a callback for things which want to
do their autoconfiguration after interrupts are enabled.
-- Jason R. Thorpe <firstname.lastname@example.org>