From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Subject: Re: [PATCH 1/23] Make register values available to panic notifiers Date: Mon, 12 Apr 2010 13:20:02 +0100 Message-ID: <24979.1271074802@redhat.com> References: <20100412120330.GA2566@osiris.boeblingen.de.ibm.com> <20100412060609.GA25273@dvomlehn-lnx2.corp.sa.net> Return-path: Received: from mx1.redhat.com ([209.132.183.28]:18518 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751340Ab0DLMUT (ORCPT ); Mon, 12 Apr 2010 08:20:19 -0400 In-Reply-To: <20100412120330.GA2566@osiris.boeblingen.de.ibm.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Heiko Carstens Cc: dhowells@redhat.com, David VomLehn , to@dvomlehn-lnx2.corp.sa.net, "linux-arch@vger.kernel.org"@cisco.comlinux-arch@vger.kernel.org, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, maint_arch@dvomlehn-lnx2.corp.sa.net Heiko Carstens wrote: > Wouldn't it be much easier to implement panic with an illegal op and let > the exception handler set up the pt regs structure instead? Just like some > architectures do that already for warnings. No, not necessarily. panic() is varargs. David