summaryrefslogtreecommitdiff
path: root/arch/s390/kernel/dumpstack.c
diff options
context:
space:
mode:
authorSven Schnelle <svens@linux.ibm.com>2021-10-01 14:42:08 +0300
committerVasily Gorbik <gor@linux.ibm.com>2021-10-26 16:21:28 +0300
commitc8f573eccb7398d7c198e547c630351e69af5ca1 (patch)
treefc4e6ba830973162eecfc2f4967198cbef70d6c3 /arch/s390/kernel/dumpstack.c
parentada1da31ce34248bc97ca8f801f2cf6efa378a81 (diff)
downloadlinux-c8f573eccb7398d7c198e547c630351e69af5ca1.tar.xz
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/dumpstack.c')
-rw-r--r--arch/s390/kernel/dumpstack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/dumpstack.c b/arch/s390/kernel/dumpstack.c
index db1bc00229ca..85f326e258df 100644
--- a/arch/s390/kernel/dumpstack.c
+++ b/arch/s390/kernel/dumpstack.c
@@ -152,7 +152,7 @@ void show_stack(struct task_struct *task, unsigned long *stack,
static void show_last_breaking_event(struct pt_regs *regs)
{
printk("Last Breaking-Event-Address:\n");
- printk(" [<%016lx>] %pSR\n", regs->args[0], (void *)regs->args[0]);
+ printk(" [<%016lx>] %pSR\n", regs->last_break, (void *)regs->last_break);
}
void show_registers(struct pt_regs *regs)