summaryrefslogtreecommitdiff
path: root/arch/arc
diff options
context:
space:
mode:
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>2019-12-19 16:30:40 +0300
committerVineet Gupta <vgupta@synopsys.com>2019-12-19 06:48:58 -0800
commit833a20b8d4924b63ef7700e43fe4941963002822 (patch)
tree3e9085857d1043e0ce126fa3db5c00415672717c /arch/arc
parentcd4c2493fa588e43ad9e066594698c9bd55d28a4 (diff)
downloadlinux-833a20b8d4924b63ef7700e43fe4941963002822.tar.gz
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')
-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;
}