[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A5AE6E7.2000208@jp.fujitsu.com>
Date: Mon, 13 Jul 2009 16:48:55 +0900
From: Hidetoshi Seto <seto.hidetoshi@...fujitsu.com>
To: "Ken'ichi Ohmichi" <oomichi@....nes.nec.co.jp>
CC: kexec-ml <kexec@...ts.infradead.org>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH-v2] kdump: Enable kdump if 2nd-kernel is loaded.
Ken'ichi Ohmichi wrote:
> Signed-off-by: Ken'ichi Ohmichi <oomichi@....nes.nec.co.jp>
> Acked-by: Simon Horman <horms@...ge.net.au>
> ---
> --- a/kernel/kexec.c 2009-07-08 12:30:26.000000000 +0900
> +++ b/kernel/kexec.c 2009-07-13 13:49:03.000000000 +0900
> @@ -57,7 +57,7 @@ struct resource crashk_res = {
>
> int kexec_should_crash(struct task_struct *p)
> {
> - if (in_interrupt() || !p->pid || is_global_init(p) || panic_on_oops)
> + if (kexec_crash_image)
> return 1;
> return 0;
> }
Reviewed-by: Hidetoshi Seto <seto.hidetoshi@...fujitsu.com>
Thanks,
H.Seto
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists