Re: Possible bogus sti() in sched.c

Keith Owens (
Tue, 26 May 1998 23:43:39 +1000

On Tue, 26 May 1998 08:30:51 +0200 (MET DST), (Rogier Wolff) wrote:
>In that case I'd make it into a
> save_flags (flags);
> if (flags & ....)
> bug_them ();

Can you do that in a portable manner? I remember a note from Alan Cox
saying there was no simple and portable method to detect if cli() was
set. Might need to make it arch dependent.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to