diff options
author | Sven Schnelle <svens@linux.ibm.com> | 2021-10-01 13:42:08 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2021-10-26 15:21:28 +0200 |
commit | c8f573eccb7398d7c198e547c630351e69af5ca1 (patch) | |
tree | fc4e6ba830973162eecfc2f4967198cbef70d6c3 /arch/s390/kernel/traps.c | |
parent | s390/sclp: sort out physical vs virtual pointers usage (diff) | |
download | linux-c8f573eccb7398d7c198e547c630351e69af5ca1.tar.xz linux-c8f573eccb7398d7c198e547c630351e69af5ca1.zip |
s390/ptrace: add last_break member to pt_regs
Instead of using args[0] for the value of the last breaking event
address register, add a member to make things more obvious.
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/traps.c')
-rw-r--r-- | arch/s390/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/traps.c b/arch/s390/kernel/traps.c index bcefc2173de4..d984f0b42604 100644 --- a/arch/s390/kernel/traps.c +++ b/arch/s390/kernel/traps.c @@ -314,7 +314,7 @@ void noinstr __do_pgm_check(struct pt_regs *regs) if (last_break < 4096) last_break = 1; current->thread.last_break = last_break; - regs->args[0] = last_break; + regs->last_break = last_break; } if (S390_lowcore.pgm_code & 0x0200) { |