]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: 8175/1: Use current_stack_pointer to calculate pt_regs address
authorBehan Webster <behanw@converseincode.com>
Fri, 26 Sep 2014 23:31:06 +0000 (00:31 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 13 Nov 2014 23:58:07 +0000 (23:58 +0000)
commit0ebc1f5671dff84b7ba4dcc38ebce956e6dea5fa
tree070333a3a69a16873972af654cacc5e3a5b3e9db
parentccbd2da50db2111f6d055e3201c39a37e542ceb6
ARM: 8175/1: Use current_stack_pointer to calculate pt_regs address

Use the global current_stack_pointer to calculate the end of the stack for
current_pt_regs()

Signed-off-by: Behan Webster <behanw@converseincode.com>
Reviewed-by: Mark Charlebois <charlebm@gmail.com>
Reviewed-by: Jan-Simon Möller <dl9pf@gmx.de>
Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/ptrace.h