From: Andreas Schwab <schwab@suse.de>
To: "Siva Prasad" <sprasad@bivio.net>
Cc: linuxppc-dev@ozlabs.org, linuxppc-embedded@ozlabs.org
Subject: Re: Variable "current" in Linux kernel...
Date: Tue, 17 Apr 2007 00:53:38 +0200 [thread overview]
Message-ID: <jeabx8exsd.fsf@sykes.suse.de> (raw)
In-Reply-To: <D83235F0F3C86D4D889D8B9A0DA8C6D75A76F1@corpexc01.corp.networkrobots.com> (Siva Prasad's message of "Mon, 16 Apr 2007 14:56:17 -0700")
"Siva Prasad" <sprasad@bivio.net> writes:
> I would like to know where exactly the value of variable "current" gets
> changed.
In _switch (see arch/powerpc/kernel/entry_{32,64}.S). For ppc32, current
is always in r2.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
prev parent reply other threads:[~2007-04-16 22:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-16 21:56 Variable "current" in Linux kernel Siva Prasad
2007-04-16 22:52 ` Phillip Lougher
2007-04-17 15:12 ` Siva Prasad
2007-04-16 22:53 ` Andreas Schwab [this message]
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=jeabx8exsd.fsf@sykes.suse.de \
--to=schwab@suse.de \
--cc=linuxppc-dev@ozlabs.org \
--cc=linuxppc-embedded@ozlabs.org \
--cc=sprasad@bivio.net \
/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;
as well as URLs for NNTP newsgroup(s).