On Tue, Sep 26, 2006 at 06:56:59PM +0530, Mohan Kumar M wrote:
> 
> 
> Check for crashkernel reservation in i386 and x86-64.
> 
> Check whether memory for crashkernel is reserved or not by looking for the
> entry "Crash kernel" in /proc/iomem. 
> 
> Signed-off-by: Mohan Kumar M <[EMAIL PROTECTED]>
> ---
>  kexec/arch/i386/kexec-elf-x86.c |   31 +++++++++++++++++++++++++++++++
>  1 files changed, 31 insertions(+), 0 deletions(-)
> 
> diff --git a/kexec/arch/i386/kexec-elf-x86.c b/kexec/arch/i386/kexec-elf-x86.c
> index 76ea0e2..d61ce75 100644
> --- a/kexec/arch/i386/kexec-elf-x86.c
> +++ b/kexec/arch/i386/kexec-elf-x86.c
> @@ -83,6 +83,37 @@ void elf_x86_usage(void)
>       
>  }

I think kexec/arch/i386/crashdump-x86.c will be a more appropriate
place for the function is_crashkernel_mem_resreved(). Same is true for 
x86_64 and ppc64. This function is not specific to loading of elf files
only, that's why kexec-elf-x86.c is not a very good choice.

Thanks
Vivek
_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to