The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Vojtech Pavlik <vojtech@suse.cz>
To: erich@uruk.org
Cc: David Grothe <dave@gcom.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: I386 cli
Date: Tue, 22 Oct 2002 22:46:44 +0200	[thread overview]
Message-ID: <20021022224644.A25463@ucw.cz> (raw)
In-Reply-To: <E1845KV-0002ab-00@trillium-hollow.org>; from erich@uruk.org on Tue, Oct 22, 2002 at 01:08:43PM -0700

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

  reply	other threads:[~2002-10-22 20:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-22 20:01 I386 cli David Grothe
2002-10-22 20:08 ` erich
2002-10-22 20:46   ` Vojtech Pavlik [this message]
2002-10-22 20:55     ` erich
2002-10-22 20:48   ` erich
2002-10-22 20:10 ` Vojtech Pavlik
2002-10-22 20:14 ` Arjan van de Ven
2002-10-22 20:19 ` Sam Ravnborg
2002-10-22 21:27   ` David Grothe
2002-10-22 20:29 ` Alan Cox
2002-10-23 12:02 ` Richard B. Johnson

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=20021022224644.A25463@ucw.cz \
    --to=vojtech@suse.cz \
    --cc=dave@gcom.com \
    --cc=erich@uruk.org \
    --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