From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754127AbYJTMwb (ORCPT ); Mon, 20 Oct 2008 08:52:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753530AbYJTMwR (ORCPT ); Mon, 20 Oct 2008 08:52:17 -0400 Received: from mx2.redhat.com ([66.187.237.31]:41790 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753415AbYJTMwQ (ORCPT ); Mon, 20 Oct 2008 08:52:16 -0400 Date: Mon, 20 Oct 2008 08:51:49 -0400 From: Vivek Goyal To: Neil Horman Cc: linux-kernel@vger.kernel.org, kexec@lists.infradead.org, hbabu@us.ibm.com Subject: Re: [PATCH] add additional symbols to /sys/kernel/vmcoreinfo data for ppc(64) Message-ID: <20081020125149.GA10905@redhat.com> References: <20081009151408.GA25268@hmsendeavour.rdu.redhat.com> <20081017210854.GB10013@redhat.com> <20081020002805.GA23009@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081020002805.GA23009@localhost.localdomain> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Oct 19, 2008 at 08:28:05PM -0400, Neil Horman wrote: > Hey Vivek, as promised, a corrected patch > > The makdumpdile dump filtering program, in some modes of operation needs > the node_data and/or contig_page_data symbols to function properly. These > symbols are missing from the powerpc kernel. This patch adds those symbols in > properly. Tested successfully by myself and the reporter. > > Regards > Neil > > Signed-off-by: Neil Horman > > > machine_kexec.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > > diff --git a/arch/powerpc/kernel/machine_kexec.c b/arch/powerpc/kernel/machine_kexec.c > index aab7688..5d51e75 100644 > --- a/arch/powerpc/kernel/machine_kexec.c > +++ b/arch/powerpc/kernel/machine_kexec.c > @@ -44,6 +44,14 @@ void machine_kexec_cleanup(struct kimage *image) > ppc_md.machine_kexec_cleanup(image); > } > > +void arch_crash_save_vmcoreinfo(void) > +{ > +#ifdef CONFIG_NEED_MULTIPLE_NODES > + VMCOREINFO_SYMBOL(node_data); > + VMCOREINFO_LENGTH(node_data, MAX_NUMNODES); > +#endif > +} > + Looks good to me. Acked-by: Vivek Goyal Thanks Vivek