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 <redacted>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/10d4cf188ab26a4ebeee4c914e82ac
cheers