projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a790634
)
s390/disassambler: use pr_cont where appropriate
author
Heiko Carstens
<heiko.carstens@de.ibm.com>
Mon, 17 Oct 2016 10:07:35 +0000
(12:07 +0200)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Mon, 17 Oct 2016 12:44:32 +0000
(14:44 +0200)
Just like for dumpstack use pr_cont instead of simple printk calls to
fix the output when disassembling a piece of code.
Before:
[ 0.840627] Krnl Code:
000000000017d1c6
:
a77400f7
brc 7,17d3b4
[ 0.840630]
000000000017d1ca
:
92015000
mvi 0(%r5),1
[ 0.840634]
#
000000000017d1ce
:
a7f40001
brc 15,17d1d0
After:
[ 0.831792] Krnl Code:
000000000017d13e
:
a77400f7
brc 7,17d32c
000000000017d142
:
92015000
mvi 0(%r5),1
#
000000000017d146
:
a7f40001
brc 15,17d148
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/dis.c
patch
|
blob
|
history
diff --git
a/arch/s390/kernel/dis.c
b/arch/s390/kernel/dis.c
index
43446fa
..
c74c592
100644
(file)
--- a/
arch/s390/kernel/dis.c
+++ b/
arch/s390/kernel/dis.c
@@
-2014,12
+2014,12
@@
void show_code(struct pt_regs *regs)
*ptr++ = '\t';
ptr += print_insn(ptr, code + start, addr);
start += opsize;
- pr
intk
("%s", buffer);
+ pr
_cont
("%s", buffer);
ptr = buffer;
ptr += sprintf(ptr, "\n ");
hops++;
}
- pr
intk
("\n");
+ pr
_cont
("\n");
}
void print_fn_code(unsigned char *code, unsigned long len)