From: Nicolas Schichan Date: Thu, 24 Nov 2016 12:38:04 +0000 (+0100) Subject: init: use pr_cont() when displaying rotator during ramdisk loading. X-Git-Tag: v4.14-rc1~2047 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=18594e9bc4a27e72d7961a7afe4250a502d1538d;p=platform%2Fkernel%2Flinux-rpi.git init: use pr_cont() when displaying rotator during ramdisk loading. Otherwise each individual rotator char would be printed in a new line: (...) [ 0.642350] - [ 0.644374] | [ 0.646367] - (...) Signed-off-by: Nicolas Schichan Signed-off-by: Linus Torvalds --- diff --git a/init/do_mounts_rd.c b/init/do_mounts_rd.c index 8a09b32..dd4104c 100644 --- a/init/do_mounts_rd.c +++ b/init/do_mounts_rd.c @@ -272,7 +272,7 @@ int __init rd_load_image(char *from) sys_write(out_fd, buf, BLOCK_SIZE); #if !defined(CONFIG_S390) if (!(i % 16)) { - printk("%c\b", rotator[rotate & 0x3]); + pr_cont("%c\b", rotator[rotate & 0x3]); rotate++; } #endif