summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/kexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/parisc/kernel/kexec.c')
-rw-r--r--arch/parisc/kernel/kexec.c7
1 files changed, 7 insertions, 0 deletions
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)