diff options
author | Rashmica Gupta <rashmicy@gmail.com> | 2016-06-02 06:29:47 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-02-15 11:47:51 +0100 |
commit | 10d4cf188ab26a4ebeee4c914e82acd5edd9f0ff (patch) | |
tree | 805defc9561a14868994d7dbcad4a7c73b18613f /kernel/futex.c | |
parent | powerpc/asm: Use OFFSET macro in asm-offsets.c (diff) | |
download | linux-10d4cf188ab26a4ebeee4c914e82acd5edd9f0ff.tar.xz linux-10d4cf188ab26a4ebeee4c914e82acd5edd9f0ff.zip |
powerpc/asm: Define STACK_PT_REGS_OFFSET macro in asm-offsets.c
There are quite a few entries in asm-offests.c which look like:
DEFINE(REG, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, reg));
So define a macro to do it once.
Signed-off-by: Rashmica Gupta <rashmicy@gmail.com>
[mpe: Rename to STACK_PT_REGS_OFFSET for excruciating explicitness]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'kernel/futex.c')
0 files changed, 0 insertions, 0 deletions