From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Srinivasa D S <srinivasa@in.ibm.com>
Cc: linuxppc-dev@ozlabs.org, Paul Mackerras <paulus@samba.org>
Subject: Re: [RFC] [PATCH] task_pt_regs for powerpc systems
Date: Tue, 15 Jul 2008 19:15:57 +1000 [thread overview]
Message-ID: <1216113357.7740.95.camel@pasglop> (raw)
In-Reply-To: <200807151436.55912.srinivasa@in.ibm.com>
On Tue, 2008-07-15 at 14:36 +0530, Srinivasa D S wrote:
> On Monday 14 July 2008 02:36:57 pm Benjamin Herrenschmidt wrote:
>
> > > Signed-off-by: Srinivasa DS <srinivasa@in.ibm.com>
> >
> > Can you send a cleanup patch against powerpc.git instead ?
> >
>
> Resending the patch against powerpc.git tree.
Nah, your initial patch is there already :-) I'm just asking for a
cleanup one that removes the useless cast.
Cheers,
Ben.
>
> Signed-off-by: Srinivasa DS <srinivasa@in.ibm.com>
>
>
> ---
> include/asm-powerpc/processor.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> Index: powerpc.git/include/asm-powerpc/processor.h
> ===================================================================
> --- powerpc.git.orig/include/asm-powerpc/processor.h
> +++ powerpc.git/include/asm-powerpc/processor.h
> @@ -234,6 +234,8 @@ struct thread_struct {
> #define thread_saved_pc(tsk) \
> ((tsk)->thread.regs? (tsk)->thread.regs->nip: 0)
>
> +#define task_pt_regs(tsk) ((tsk)->thread.regs)
> +
> unsigned long get_wchan(struct task_struct *p);
>
> #define KSTK_EIP(tsk) ((tsk)->thread.regs? (tsk)->thread.regs->nip: 0)
next prev parent reply other threads:[~2008-07-15 9:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-07 14:22 [RFC] [PATCH] task_pt_regs for powerpc systems Srinivasa D S
2008-07-08 6:21 ` Benjamin Herrenschmidt
2008-07-13 22:32 ` Paul Mackerras
2008-07-13 22:40 ` Benjamin Herrenschmidt
2008-07-14 8:31 ` Srinivasa D S
2008-07-14 9:06 ` Benjamin Herrenschmidt
2008-07-15 9:06 ` Srinivasa D S
2008-07-15 9:15 ` Benjamin Herrenschmidt [this message]
2008-07-15 10:30 ` Srinivasa DS
2008-07-15 10:37 ` Benjamin Herrenschmidt
2008-07-14 17:21 ` Timur Tabi
2008-07-14 17:36 ` Andreas Schwab
2008-07-15 9:21 ` Srinivasa D S
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=1216113357.7740.95.camel@pasglop \
--to=benh@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.org \
--cc=srinivasa@in.ibm.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.