mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-17 09:43:59 +08:00
[S390] stack dump: fix indentation in output
The first line of a stack dump has a wrong (no) indentation. Just fix this after more than 10 years. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
4857d4bbe9
commit
ddadfa8d27
@ -145,8 +145,8 @@ void show_stack(struct task_struct *task, unsigned long *sp)
|
||||
for (i = 0; i < kstack_depth_to_print; i++) {
|
||||
if (((addr_t) stack & (THREAD_SIZE-1)) == 0)
|
||||
break;
|
||||
if (i && ((i * sizeof (long) % 32) == 0))
|
||||
printk("\n ");
|
||||
if ((i * sizeof(long) % 32) == 0)
|
||||
printk("%s ", i == 0 ? "" : "\n");
|
||||
printk(LONG, *stack++);
|
||||
}
|
||||
printk("\n");
|
||||
|
Loading…
Reference in New Issue
Block a user