[PATCH 2/7] ARM: Introduce arm_get_current_stack_frame()

Robert Richter rric at kernel.org
Tue May 13 07:55:26 PDT 2014


On 13.05.14 10:46:53, Nikolay Borisov wrote:
>  #define instruction_pointer(regs)	(regs)->ARM_pc
> +#define frame_pointer(regs)				\
> +	IS_ENABLED(CONFIG_THUMB2_KERNEL) ? regs->ARM_r7 \
> +	: regs->ARM_fp					\

(regs)->... should be used here both.

-Robert



More information about the linux-arm-kernel mailing list