Subject: Re: Detecting boot time
To: Lennart Augustsson <augustss@augustsson.net>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 09/15/1999 10:06:44
On Wed, 15 Sep 1999 10:36:12 +0200 (CEST) 
 Lennart Augustsson <augustss@augustsson.net> 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 <thorpej@nas.nasa.gov>