lkml.org 
[lkml]   [2002]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: I386 cli
On Tue, Oct 22, 2002 at 01:08:43PM -0700, erich@uruk.org wrote:

> David Grothe <dave@gcom.com> wrote:
>
> > In 2.5.41every architecture except Intel 386 has a "#define cli
> > <something>" in its asm-arch/system.h file. Is there supposed to be such a
> > define in asm-i386/system.h? If not, where does the "official" definition
> > of cli() live for Intel? Or what is the include file that one needs to
> > pick it up? I can't find it.
>
> I'm sure there is no definition because "cli" is the native assembler
> instruction on x86.

Wrong reason. Furthermore, cli(), meaning 'global interrupt disable,
across all processors', is not doable with a single instruction anyway.
It's not defined, because it should not be used - usually the usage of
cli() means a bug.

--
Vojtech Pavlik
SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.126 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site