diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2012-03-11 11:59:35 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-03-11 11:59:29 -0400 |
commit | ddadfa8d279e17b5afe8aa76846363c940df0435 (patch) | |
tree | cf40a89816ca81fd49d2d33871866967dbc06356 /arch/s390 | |
parent | 4857d4bbe9821c8d732cb84455e18e12b3d79add (diff) |
[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>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kernel/traps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/kernel/traps.c b/arch/s390/kernel/traps.c index 8894ac435d8d..cd6ebe12c481 100644 --- a/arch/s390/kernel/traps.c +++ b/arch/s390/kernel/traps.c | |||
@@ -145,8 +145,8 @@ void show_stack(struct task_struct *task, unsigned long *sp) | |||
145 | for (i = 0; i < kstack_depth_to_print; i++) { | 145 | for (i = 0; i < kstack_depth_to_print; i++) { |
146 | if (((addr_t) stack & (THREAD_SIZE-1)) == 0) | 146 | if (((addr_t) stack & (THREAD_SIZE-1)) == 0) |
147 | break; | 147 | break; |
148 | if (i && ((i * sizeof (long) % 32) == 0)) | 148 | if ((i * sizeof(long) % 32) == 0) |
149 | printk("\n "); | 149 | printk("%s ", i == 0 ? "" : "\n"); |
150 | printk(LONG, *stack++); | 150 | printk(LONG, *stack++); |
151 | } | 151 | } |
152 | printk("\n"); | 152 | printk("\n"); |