orig_gpr2's location is used by libbpf tracing macros, therefore it should not be moved. Suggested-by: Andrii Nakryiko <andrii.nakryiko@xxxxxxxxx> Signed-off-by: Ilya Leoshkevich <iii@xxxxxxxxxxxxx> --- arch/s390/include/asm/ptrace.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/s390/include/asm/ptrace.h b/arch/s390/include/asm/ptrace.h index 4ffa8e7f0ed3..3c356ec59abc 100644 --- a/arch/s390/include/asm/ptrace.h +++ b/arch/s390/include/asm/ptrace.h @@ -85,6 +85,10 @@ struct pt_regs { unsigned long gprs[NUM_GPRS]; }; }; + /* + * orig_gpr2 is not exposed via user_pt_regs, but its location is + * assumed by libbpf's tracing macros, so it should not be moved. + */ unsigned long orig_gpr2; union { struct { -- 2.34.1