Re: [PATCH 2/23] Make register values available to Alpha panicnotifiers

From: Sam Ravnborg
Date: Mon Apr 12 2010 - 15:29:13 EST


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 <dvomlehn@xxxxxxxxx>
> ---
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/