From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756878Ab0DNVLH (ORCPT ); Wed, 14 Apr 2010 17:11:07 -0400 Received: from sj-iport-6.cisco.com ([171.71.176.117]:28742 "EHLO sj-iport-6.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755749Ab0DNVLA (ORCPT ); Wed, 14 Apr 2010 17:11:00 -0400 Authentication-Results: sj-iport-6.cisco.com; dkim=neutral (message not signed) header.i=none X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAH/MxUurRN+K/2dsb2JhbACbWHGjb5oGhQ0E X-IronPort-AV: E=Sophos;i="4.52,206,1270425600"; d="scan'208";a="515029150" Message-ID: <4BC62F62.40500@cisco.com> Date: Wed, 14 Apr 2010 17:10:58 -0400 From: David VomLehn User-Agent: Thunderbird 2.0.0.23 (X11/20090825) MIME-Version: 1.0 To: Sam Ravnborg CC: linux-arch@vger.kernel.org, akpm@linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/23] Make register values available to Alpha panic notifiers References: <20100412060613.GA25303@dvomlehn-lnx2.corp.sa.net> <20100412190509.GA17147@merkur.ravnborg.org> In-Reply-To: <20100412190509.GA17147@merkur.ravnborg.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sam Ravnborg wrote: > On Sun, Apr 11, 2010 at 11:06:13PM -0700, David VomLehn wrote: > >> The save_ptregs() function has not been tested or even built. I will need >> help to complete this. >> >> Signed-off-by: David VomLehn >> --- >> arch/alpha/include/asm/ptrace.h | 124 +++++++++++++++++++++++++++++++++++++++ >> 1 files changed, 124 insertions(+), 0 deletions(-) >> >> diff --git a/arch/alpha/include/asm/ptrace.h b/arch/alpha/include/asm/ptrace.h >> index 65cf3e2..952d177 100644 >> --- a/arch/alpha/include/asm/ptrace.h >> +++ b/arch/alpha/include/asm/ptrace.h >> @@ -79,6 +79,130 @@ extern void show_regs(struct pt_regs *); >> >> #define force_successful_syscall_return() (task_pt_regs(current)->r0 = 0) >> >> +/* Macros for saving the contents of registers and for the output constraint >> + * for those registers */ >> +#include "/home/vomlehn/git/kernel.org/linux/ptreg.h" >> > The above include needs fixing. > > Sam > Definitely, thanks!