summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell King <rmk@arm.linux.org.uk>2016-06-06 18:00:21 +0100
committerSimon Horman <horms@verge.net.au>2016-06-08 09:24:09 +0900
commit66d941fccb47f93544366aedd2147bca9496b44e (patch)
treec3a7cdd2badcf88ffdd66921174cd2812ea70a40
parentccb582a4399ff5b8cd3e9097e6d30f42bbb00ee8 (diff)
arm: add memory ranges debug
Add the call to dbgprint_mem_range() into the ARM version of get_memory_ranges(). Reviewed-by: Pratyush Anand <panand@redhat.com> Signed-off-by: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r--kexec/arch/arm/kexec-arm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kexec/arch/arm/kexec-arm.c b/kexec/arch/arm/kexec-arm.c
index e47fc00..eeb27b4 100644
--- a/kexec/arch/arm/kexec-arm.c
+++ b/kexec/arch/arm/kexec-arm.c
@@ -70,6 +70,9 @@ int get_memory_ranges(struct memory_range **range, int *ranges,
fclose(fp);
*range = memory_range;
*ranges = memory_ranges;
+
+ dbgprint_mem_range("MEMORY RANGES", *range, *ranges);
+
return 0;
}