arm64: fix show_data fallout from KERN_CONT changes
authorJi Zhang <ji.zhang@mediatek.com>
Fri, 26 Jan 2018 07:04:26 +0000 (15:04 +0800)
committerGreg Kroah-Hartman <gregkh@google.com>
Sun, 8 Jul 2018 15:26:00 +0000 (15:26 +0000)
commitebe8b41ef6a194c8d1d3184f4197019f8c5146af
tree83f1194baa208c71d7b7856dd5c4e51b72e4fa09
parenta6d6913801266b103d96e41769a9760abec6f6f1
arm64: fix show_data fallout from KERN_CONT changes

The log format printed by show_data is illegible due to printk change
"commit 4bcc595ccd80decb ("printk: reinstate KERN_CONT for printing
continuation lines")".

The output is like:
[   32.669636] SP: 0xffffffc0b01f7c50:
[   32.669647] 7c50
[   32.669652]  b01f7eb0
[   32.669655]  ffffffc0
[   32.669659]  00000000
[   32.669662]  00000000
[   32.669665]  00000015
[   32.669669]  00000000
[   32.669672]  00000123
[   32.669675]  00000000
[   32.669674]
[   32.669680] 7c70
[   32.669684]  0000003f
[   32.669687]  00000000
[   32.669690]  08c82000
[   32.669694]  ffffff80
[   32.669697]  b01f4000
[   32.669700]  ffffffc0
[   32.669703]  b01f7cd0
[   32.669706]  ffffffc0

To fix this, use pr_cont() instead of the printk() to print
continuing lines.

Signed-off-by: Ji Zhang <ji.zhang@mediatek.com>
Signed-off-by: Miles Chen <miles.chen@mediatek.com>
arch/arm64/kernel/process.c