Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757970Ab1EZROe (ORCPT ); Thu, 26 May 2011 13:14:34 -0400 Received: from e28smtp03.in.ibm.com ([122.248.162.3]:43169 "EHLO e28smtp03.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752693Ab1EZROd (ORCPT ); Thu, 26 May 2011 13:14:33 -0400 Date: Thu, 26 May 2011 22:44:22 +0530 From: "K.Prasad" To: Linux Kernel Mailing List Cc: Andi Kleen , "Luck, Tony" , Vivek Goyal , kexec@lists.infradead.org, "Eric W. Biederman" , anderson@redhat.com Subject: [Bugfix][Patch 3/3] Invoke vpanic inside xpanic function Message-ID: <20110526171422.GC17988@in.ibm.com> Reply-To: prasad@linux.vnet.ibm.com References: <20110526170722.GB23266@in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110526170722.GB23266@in.ibm.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 977 Lines: 30 Invoke vpanic inside xpanic function xpanic must invoke the worker routine vpanic to perform the erstwhile panic related function. Instead it erroneously invokes xpanic (recursively) which needs to be fixed. Signed-off-by: K.Prasad --- kernel/panic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.slim_kdump/kernel/panic.c =================================================================== --- linux-2.6.slim_kdump.orig/kernel/panic.c +++ linux-2.6.slim_kdump/kernel/panic.c @@ -70,7 +70,7 @@ NORET_TYPE void xpanic(enum panic_flags { va_list ap; va_start(ap, fmt); - xpanic(flags, timeout, fmt, ap); + vpanic(flags, timeout, fmt, ap); } EXPORT_SYMBOL(xpanic); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/