summaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel
diff options
context:
space:
mode:
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>2019-12-19 14:30:40 +0100
committerVineet Gupta <vgupta@synopsys.com>2019-12-19 15:48:58 +0100
commit833a20b8d4924b63ef7700e43fe4941963002822 (patch)
tree3e9085857d1043e0ce126fa3db5c00415672717c /arch/arc/kernel
parentARC: mm: drop stale define of __ARCH_USE_5LEVEL_HACK (diff)
downloadlinux-833a20b8d4924b63ef7700e43fe4941963002822.tar.xz
linux-833a20b8d4924b63ef7700e43fe4941963002822.zip
ARC: asm-offsets: remove duplicate entry
We define 'PT_user_r25' twice in asm-offsets.c It's not a big issue as we define it to the same value, however let's fix it. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel')
-rw-r--r--arch/arc/kernel/asm-offsets.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arc/kernel/asm-offsets.c b/arch/arc/kernel/asm-offsets.c
index 1f621e416521..631ebb5d3458 100644
--- a/arch/arc/kernel/asm-offsets.c
+++ b/arch/arc/kernel/asm-offsets.c
@@ -66,7 +66,6 @@ int main(void)
DEFINE(SZ_CALLEE_REGS, sizeof(struct callee_regs));
DEFINE(SZ_PT_REGS, sizeof(struct pt_regs));
- DEFINE(PT_user_r25, offsetof(struct pt_regs, user_r25));
return 0;
}