[PATCH v2 4/4] arm64: kexec: Adjust the debug print of kexec_image_info

Qiang Ma maqianga at uniontech.com
Fri Dec 19 01:31:34 PST 2025


In the previous patch, we move start/head of kimage to the
generic code, so, we remove them to avoid duplicate printing.

Signed-off-by: Qiang Ma <maqianga at uniontech.com>
---
 arch/arm64/kernel/machine_kexec.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm64/kernel/machine_kexec.c b/arch/arm64/kernel/machine_kexec.c
index 239c16e3d02f..0896e3e6a811 100644
--- a/arch/arm64/kernel/machine_kexec.c
+++ b/arch/arm64/kernel/machine_kexec.c
@@ -34,8 +34,6 @@ static void _kexec_image_info(const char *func, int line,
 {
 	kexec_dprintk("%s:%d:\n", func, line);
 	kexec_dprintk("  kexec kimage info:\n");
-	kexec_dprintk("    type:        %d\n", kimage->type);
-	kexec_dprintk("    head:        %lx\n", kimage->head);
 	kexec_dprintk("    kern_reloc: %pa\n", &kimage->arch.kern_reloc);
 	kexec_dprintk("    el2_vectors: %pa\n", &kimage->arch.el2_vectors);
 }
-- 
2.20.1




More information about the linux-arm-kernel mailing list