Skip to content

Commit 427d2fd

Browse files
vineetgarcxxkent
authored andcommitted
XXX: printf ramfs loading step
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
1 parent 8add0ff commit 427d2fd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

init/initramfs.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,8 @@ static char * __init unpack_to_rootfs(char *buf, unsigned long len)
468468
const char *compress_name;
469469
static __initdata char msg_buf[64];
470470

471+
printk(KERN_INFO "unpack rootfs image as initramfs...\n");
472+
471473
header_buf = kmalloc(110, GFP_KERNEL);
472474
symlink_buf = kmalloc(PATH_MAX + N_ALIGN(PATH_MAX) + 1, GFP_KERNEL);
473475
name_buf = kmalloc(N_ALIGN(PATH_MAX), GFP_KERNEL);
@@ -520,6 +522,7 @@ static char * __init unpack_to_rootfs(char *buf, unsigned long len)
520522
kfree(name_buf);
521523
kfree(symlink_buf);
522524
kfree(header_buf);
525+
printk(KERN_INFO "unpack initramfs done !\n");
523526
return message;
524527
}
525528

0 commit comments

Comments
 (0)