From: Andi Kleen <ak@suse.de>
To: John Kingman <kingman@VIEO.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: get_current()
Date: 27 Sep 2001 22:31:41 +0200 [thread overview]
Message-ID: <oupvgi49xzm.fsf@pigdrop.muc.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.21.0109271518350.12110-100000@Worf.VIEO.com.suse.lists.linux.kernel>
In-Reply-To: John Kingman's message of "27 Sep 2001 22:22:33 +0200"
John Kingman <kingman@VIEO.com> writes:
> I'm trying to write portable driver code.
>
> What is the status of get_current()? I see that it is defined in
You should always just use "current" from <linux/sched.h>.
get_current() is an internal implementation detail of the architecture.
Don't include <asm/current.h> directly.
-Andi
next parent reply other threads:[~2001-09-27 20:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.21.0109271518350.12110-100000@Worf.VIEO.com.suse.lists.linux.kernel>
2001-09-27 20:31 ` Andi Kleen [this message]
2001-09-27 20:21 get_current() John Kingman
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=oupvgi49xzm.fsf@pigdrop.muc.suse.de \
--to=ak@suse.de \
--cc=kingman@VIEO.com \
--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
all inboxes | Powered by JetHome®