Add standard patch headers See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines OBS-URL: https://build.opensuse.org/request/show/198829 OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/makedumpfile?expand=0&rev=69
40 lines
1.2 KiB
Diff
40 lines
1.2 KiB
Diff
From: Baoquan He <bhe@redhat.com>
|
|
Date: Mon Jul 15 20:37:14 2013 +0800
|
|
Subject: Add vmap_area_list definition for ppc/ppc64
|
|
References: http://lists.infradead.org/pipermail/kexec/2013-July/009286.html
|
|
Upstream: merged
|
|
|
|
vmap_area_list is added to get vmalloc_start for ppc/ppc64, but its
|
|
definition is missing, now add them.
|
|
|
|
Signed-off-by: Baoquan He <bhe@redhat.com>
|
|
Acked-by: Dinar Valeev <dvaleev@suse.com>
|
|
Acked-by: Petr Tesarik <ptesarik@suse.com>
|
|
|
|
diff --git a/arch/ppc.c b/arch/ppc.c
|
|
index a9b4812..a3e1a12 100644
|
|
--- a/arch/ppc.c
|
|
+++ b/arch/ppc.c
|
|
@@ -28,7 +28,7 @@
|
|
int
|
|
get_machdep_info_ppc(void)
|
|
{
|
|
- unsigned long vmlist, vmalloc_start;
|
|
+ unsigned long vmlist, vmap_area_list, vmalloc_start;
|
|
|
|
info->section_size_bits = _SECTION_SIZE_BITS;
|
|
info->max_physmem_bits = _MAX_PHYSMEM_BITS;
|
|
diff --git a/arch/ppc64.c b/arch/ppc64.c
|
|
index c229ede..85144f6 100644
|
|
--- a/arch/ppc64.c
|
|
+++ b/arch/ppc64.c
|
|
@@ -49,7 +49,7 @@ set_ppc64_max_physmem_bits(void)
|
|
int
|
|
get_machdep_info_ppc64(void)
|
|
{
|
|
- unsigned long vmlist, vmalloc_start;
|
|
+ unsigned long vmlist, vmap_area_list, vmalloc_start;
|
|
|
|
info->section_size_bits = _SECTION_SIZE_BITS;
|
|
if (!set_ppc64_max_physmem_bits()) {
|