Blame SOURCES/kexec-tools-2.0.4-makedumpfile-Add-vmap_area_list-definition-for-ppc-ppc64.patch

ab224c
From 150b58eb299066c65ef7713a93effc35c00be03a Mon Sep 17 00:00:00 2001
ab224c
Message-Id: <150b58eb299066c65ef7713a93effc35c00be03a.1374133991.git.bhe@redhat.com>
ab224c
From: Baoquan He <bhe@redhat.com>
ab224c
Date: Mon, 15 Jul 2013 20:37:14 +0800
ab224c
Subject: [PATCH] [PATCH] Add vmap_area_list definition for ppc/ppc64.
ab224c
ab224c
vmap_area_list is added to get vmalloc_start for ppc/ppc64, but its
ab224c
definition is missing, now add them.
ab224c
ab224c
Signed-off-by: Baoquan He <bhe@redhat.com>
ab224c
---
ab224c
 makedumpfile-1.5.4/arch/ppc.c   |    2 +-
ab224c
 makedumpfile-1.5.4/arch/ppc64.c |    2 +-
ab224c
 2 files changed, 2 insertions(+), 2 deletions(-)
ab224c
ab224c
diff --git a/makedumpfile-1.5.4/arch/ppc.c b/makedumpfile-1.5.4/arch/ppc.c
ab224c
index a9b4812..a3e1a12 100644
ab224c
--- a/makedumpfile-1.5.4/arch/ppc.c
ab224c
+++ b/makedumpfile-1.5.4/arch/ppc.c
ab224c
@@ -28,7 +28,7 @@
ab224c
 int
ab224c
 get_machdep_info_ppc(void)
ab224c
 {
ab224c
-	unsigned long vmlist, vmalloc_start;
ab224c
+	unsigned long vmlist, vmap_area_list, vmalloc_start;
ab224c
 
ab224c
 	info->section_size_bits = _SECTION_SIZE_BITS;
ab224c
 	info->max_physmem_bits  = _MAX_PHYSMEM_BITS;
ab224c
diff --git a/makedumpfile-1.5.4/arch/ppc64.c b/makedumpfile-1.5.4/arch/ppc64.c
ab224c
index c229ede..85144f6 100644
ab224c
--- a/makedumpfile-1.5.4/arch/ppc64.c
ab224c
+++ b/makedumpfile-1.5.4/arch/ppc64.c
ab224c
@@ -49,7 +49,7 @@ set_ppc64_max_physmem_bits(void)
ab224c
 int
ab224c
 get_machdep_info_ppc64(void)
ab224c
 {
ab224c
-	unsigned long vmlist, vmalloc_start;
ab224c
+	unsigned long vmlist, vmap_area_list, vmalloc_start;
ab224c
 
ab224c
 	info->section_size_bits = _SECTION_SIZE_BITS;
ab224c
 	if (!set_ppc64_max_physmem_bits()) {
ab224c
-- 
ab224c
1.7.1
ab224c