[PATCH] makedumpfie: Add vmap_area_list definition for ppc/ppc64

Atsushi Kumagai kumagai-atsushi at mxc.nes.nec.co.jp
Wed Jul 17 04:00:34 EDT 2013


Hello Baoquan,

On Mon, 15 Jul 2013 20:37:14 +0800
Baoquan He <bhe at redhat.com> wrote:

> 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 at redhat.com>

Thanks, I'll merge this patch into v1.5.5.


Atsushi Kumagai

> ---
>  arch/ppc.c   |    2 +-
>  arch/ppc64.c |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> 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()) {
> -- 
> 1.7.1
> 
> 
> _______________________________________________
> kexec mailing list
> kexec at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec



More information about the kexec mailing list