Re: [RFC][PATCH] ppc: Implement save_stack_trace_regs()

From: Steven Rostedt
Date: Tue Dec 08 2015 - 20:21:19 EST


On Wed, 09 Dec 2015 12:03:05 +1100
Michael Ellerman <mpe@xxxxxxxxxxxxxx> wrote:


> Looks like we actually have:
>
> #define kernel_stack_pointer(regs) ((regs)->gpr[1])
>
> So that would be the most self documenting way to do it I guess, though I've
> never actually seen that macro used anywhere before :)

Cool, throw that in, and then it will be the first for you ;-)

-- Steve

--
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/