All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Rashmica Gupta <rashmicy@gmail.com>,
	benh@kernel.crashing.org, linuxppc-dev@lists.ozlabs.org
Subject: Re: [2/3] powerpc/asm: Define STACK_OFFSET macro in asm-offsets.c
Date: Thu, 16 Feb 2017 16:59:45 +1100 (AEDT)	[thread overview]
Message-ID: <3vP58d2BVYz9s8Y@ozlabs.org> (raw)
In-Reply-To: <1464841788-17465-2-git-send-email-rashmicy@gmail.com>

On Thu, 2016-06-02 at 04:29:47 UTC, Rashmica Gupta wrote:
> There are quite a few entries in asm-offests.c look like this:
> DEFINE(REG, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, reg));
> 
> So define a local MACRO to clean this up:
> STACK_OFFSET(sym, val) DEFINE(sym, STACK_FRAME_OVERHEAD + \
>                offsetof(struct pt_regs, val))
> 
> Signed-off-by: Rashmica Gupta <rashmicy@gmail.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/10d4cf188ab26a4ebeee4c914e82ac

cheers

  reply	other threads:[~2017-02-16  5:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-02  4:29 [PATCH 1/3] powerpc/asm: Use OFFSET macro in asm-offsets.c Rashmica Gupta
2016-06-02  4:29 ` [PATCH 2/3] powerpc/asm: Define STACK_OFFSET " Rashmica Gupta
2017-02-16  5:59   ` Michael Ellerman [this message]
2016-06-02  4:29 ` [PATCH 3/3] powerpc/asm: Add STACK_INT_OFFSET " Rashmica Gupta
2017-02-16  5:59 ` [1/3] powerpc/asm: Use OFFSET " Michael Ellerman

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=3vP58d2BVYz9s8Y@ozlabs.org \
    --to=patch-notifications@ellerman.id.au \
    --cc=benh@kernel.crashing.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=rashmicy@gmail.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.