ARC: asm-offsets: remove duplicate entry
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Thu, 19 Dec 2019 13:30:40 +0000 (16:30 +0300)
committerVineet Gupta <vgupta@synopsys.com>
Thu, 19 Dec 2019 14:48:58 +0000 (06:48 -0800)
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>
arch/arc/kernel/asm-offsets.c

index 1f621e4..631ebb5 100644 (file)
@@ -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;
 }