From 1191cf4986b5e8008c615896e487dc35fe922acd Mon Sep 17 00:00:00 2001 From: Sven Schnelle Date: Sun, 8 Sep 2019 11:33:06 +0200 Subject: parisc: add support for kexec_file_load() syscall Signed-off-by: Sven Schnelle Signed-off-by: Helge Deller --- arch/parisc/kernel/kexec.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'arch/parisc/kernel/kexec.c') diff --git a/arch/parisc/kernel/kexec.c b/arch/parisc/kernel/kexec.c index a92d265a2261..5eb7f30edc1f 100644 --- a/arch/parisc/kernel/kexec.c +++ b/arch/parisc/kernel/kexec.c @@ -40,6 +40,13 @@ static void kexec_image_info(const struct kimage *kimage) for (i = 0; i < kimage->nr_segments; i++) kexec_show_segment_info(kimage, i); + +#ifdef CONFIG_KEXEC_FILE + if (kimage->file_mode) { + pr_debug("cmdline: %.*s\n", (int)kimage->cmdline_buf_len, + kimage->cmdline_buf); + } +#endif } void machine_kexec_cleanup(struct kimage *kimage) -- cgit v1.2.3