diff options
author | Sven Schnelle <svens@stackframe.org> | 2019-09-08 11:33:06 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2019-09-08 15:41:46 +0200 |
commit | 1191cf4986b5e8008c615896e487dc35fe922acd (patch) | |
tree | 9eb8cf30539a7ec1b98aa93d8785e4743844b6ce /arch/parisc/kernel/kexec.c | |
parent | parisc: wire up kexec_file_load syscall (diff) | |
download | linux-1191cf4986b5e8008c615896e487dc35fe922acd.tar.xz linux-1191cf4986b5e8008c615896e487dc35fe922acd.zip |
parisc: add support for kexec_file_load() syscall
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/kexec.c')
-rw-r--r-- | arch/parisc/kernel/kexec.c | 7 |
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) |