linux-mips
[Top] [All Lists]

Re: kexec on mips - anyone has it working?

To: wurststulle <wurststulle@gmail.com>
Subject: Re: kexec on mips - anyone has it working?
From: Arnaud Patard <apatard@mandriva.com>
Date: Mon, 23 Feb 2009 22:29:00 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <22167417.post@talk.nabble.com> (wurststulle@gmail.com's message of "Mon, 23 Feb 2009 10:42:35 -0800 (PST)")
Organization: Mandriva
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <483BCB75.4050901@wpkg.org> <200805271405.55346.nschichan@freebox.fr> <483C0135.9070203@wpkg.org> <200805271449.45124.nschichan@freebox.fr> <483C4F73.4040909@wpkg.org> <200805291347.05196.nschichan@freebox.fr> <483F0EF3.3060500@wpkg.org> <200805301327.11925.nschichan@freebox.fr> <483FE764.1090901@wpkg.org> <200807011542.29274.nschichan@freebox.fr> <486A6F0D.4070802@wpkg.org> <200807012000.40421.nschichan@freebox.fr> <486A759D.6080803@wpkg.org> <22148789.post@talk.nabble.com> <m3d4d9o5z7.fsf@anduin.mandriva.com> <22167417.post@talk.nabble.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.1 (gnu/linux)
wurststulle <wurststulle@gmail.com> writes:

> hi, thank you for the patch, but there is a mistake, that i can not fix:
>
> +#ifdef CONFIG_CRASH_DUMP
> +    if (crashk_res.start != crashk_res.end)
> +        reserve_bootmem(crashk_res.start,
> +                crashk_res.end - crashk_res.start + 1);
> +#endif
>
> the function reserve_bootmem need i think three arguments. while compiling
> this error occurs:
>
> arch/mips/kernel/setup.c: In function 'arch_mem_init':
> arch/mips/kernel/setup.c:493: error: too few arguments to function
> 'reserve_bootmem'

oops. Adding BOOTMEM_DEFAULT as 3rd parameter should cure the problem I
think.


Arnaud

<Prev in Thread] Current Thread [Next in Thread>