[PATCH 2/5] kexec: X86: Enhance crash range debug output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add the type as done at other places where ranges are shown.

CC: Simon Horman <horms at verge.net.au>
CC: kexec at lists.infradead.org

Signed-off-by: Thomas Renninger <trenn at suse.de>
Signed-off-by: Thomas Renninger <Thomas Renninger" trenn at suse.de>
---
 kexec/arch/i386/crashdump-x86.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/kexec/arch/i386/crashdump-x86.c b/kexec/arch/i386/crashdump-x86.c
index 9ab648b..3f8593d 100644
--- a/kexec/arch/i386/crashdump-x86.c
+++ b/kexec/arch/i386/crashdump-x86.c
@@ -984,7 +984,8 @@ int load_crashdump_segments(struct kexec_info *info, char* mod_cmdline,
 	dbgprintf("CRASH MEMORY RANGES\n");
 
 	for(i = 0; i < nr_ranges; ++i)
-		dbgprintf("%016Lx-%016Lx\n", mem_range[i].start, mem_range[i].end);
+		dbgprintf("%016Lx-%016Lx (%d)\n", mem_range[i].start,
+			  mem_range[i].end, mem_range[i].type);
 
 	/*
 	 * if the core type has not been set on command line, set it here
-- 
1.7.6.1




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux