From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: David Miller <davem@davemloft.net>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] powerpc: Rework I$/D$ coherency (v2)
Date: Sat, 07 Feb 2009 21:08:16 +1100 [thread overview]
Message-ID: <1234001296.31963.65.camel@pasglop> (raw)
In-Reply-To: <20090207.002214.259050726.davem@davemloft.net>
On Sat, 2009-02-07 at 00:22 -0800, David Miller wrote:
> 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 :-)
Hehe... was a macro in my original implementation and I turned it back
into an inline later on... missed the comment obviously :-)
I'll fix it, thanks for having a look.
Cheers,
Ben.
prev parent reply other threads:[~2009-02-07 10:08 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
2009-02-07 10:08 ` Benjamin Herrenschmidt [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=1234001296.31963.65.camel@pasglop \
--to=benh@kernel.crashing.org \
--cc=davem@davemloft.net \
--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).