The kexec_image_info() outputs all the necessary information about the
upcoming kexec. The extra debug printfs in machine_kexec() are not
needed.

Signed-off-by: Pavel Tatashin <[email protected]>
---
 arch/arm64/kernel/machine_kexec.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/arch/arm64/kernel/machine_kexec.c 
b/arch/arm64/kernel/machine_kexec.c
index 0df8493624e0..8e9c924423b4 100644
--- a/arch/arm64/kernel/machine_kexec.c
+++ b/arch/arm64/kernel/machine_kexec.c
@@ -160,18 +160,6 @@ void machine_kexec(struct kimage *kimage)
 
        kexec_image_info(kimage);
 
-       pr_debug("%s:%d: control_code_page:        %p\n", __func__, __LINE__,
-               kimage->control_code_page);
-       pr_debug("%s:%d: reboot_code_buffer_phys:  %pa\n", __func__, __LINE__,
-               &reboot_code_buffer_phys);
-       pr_debug("%s:%d: reboot_code_buffer:       %p\n", __func__, __LINE__,
-               reboot_code_buffer);
-       pr_debug("%s:%d: relocate_new_kernel:      %p\n", __func__, __LINE__,
-               arm64_relocate_new_kernel);
-       pr_debug("%s:%d: relocate_new_kernel_size: 0x%lx(%lu) bytes\n",
-               __func__, __LINE__, arm64_relocate_new_kernel_size,
-               arm64_relocate_new_kernel_size);
-
        /*
         * Copy arm64_relocate_new_kernel to the reboot_code_buffer for use
         * after the kernel is shut down.
-- 
2.23.0

Reply via email to