[PATCH][makedumpfile] Fix compilation error in sadump_info.h

tachibana at mxm.nes.nec.co.jp tachibana at mxm.nes.nec.co.jp
Fri Jan 13 03:08:46 EST 2012


Hi Poulose,

On 2012/01/13 12:27:50 +0530, "Suzuki K. Poulose" <suzuki at in.ibm.com> wrote:
> While compiling the makedumpfile-1.4.1 I got the following error :

Thank you for the fix.
I got the same report from Michael Holzheu.

<http://lists.infradead.org/pipermail/kexec/2012-January/005940.html>


Thanks.
tachibana

> 
> In file included from makedumpfile.c:21:
> sadump_info.h:86: error: expected identifier or ‘(’ before ‘{’ token
> 
> 
> This patch fixes the compilation error in sadump_info.h
> 
> Signed-off-by: Suzuki K. Poulose <suzuki at in.ibm.com>
> ---
> 
>  sadump_info.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/sadump_info.h b/sadump_info.h
> index 1f74ee5..c4824be 100644
> --- a/sadump_info.h
> +++ b/sadump_info.h
> @@ -82,7 +82,7 @@ static inline int sadump_initialize_bitmap_memory(void)
>  	return FALSE;
>  }
>  
> -static inline int sadump_num_online_cpus(void);
> +static inline int sadump_num_online_cpus(void)
>  {
>  	return 0;
>  }
> 



More information about the kexec mailing list