From: David Miller <davem@davemloft.net>
To: benh@kernel.crashing.org
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] powerpc: Rework I$/D$ coherency (v2)
Date: Sat, 07 Feb 2009 00:22:14 -0800 (PST) [thread overview]
Message-ID: <20090207.002214.259050726.davem@davemloft.net> (raw)
In-Reply-To: <20090202001035.E1390DDF3D@ozlabs.org>
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: Mon, 02 Feb 2009 11:10:24 +1100
> +/* has to be a macro because of include dependencies */
> +static inline int is_exec_fault(void)
> +{
> + return current->thread.regs && TRAP(current->thread.regs) == 0x400;
> +}
Nice macro :-)
next prev parent reply other threads:[~2009-02-07 8:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-02 0:10 [PATCH] powerpc: Rework I$/D$ coherency (v2) Benjamin Herrenschmidt
2009-02-07 8:22 ` David Miller [this message]
2009-02-07 10:08 ` Benjamin Herrenschmidt
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=20090207.002214.259050726.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=benh@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.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;
as well as URLs for NNTP newsgroup(s).