arm64: Add brackets around user_stack_pointer()
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 29 Aug 2014 15:08:02 +0000 (16:08 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Thu, 4 Sep 2014 16:08:35 +0000 (17:08 +0100)
commit011e965c6a7003a007b41babbb85f99697dc2c08
tree8513db58193fc25fd3197e163aa187c19b24d60f
parent1e61890c5563def7734035c5a423ec0f14c69056
arm64: Add brackets around user_stack_pointer()

Commit 5f888a1d33 (ARM64: perf: support dwarf unwinding in compat mode)
changes user_stack_pointer() to return the compat SP for 32-bit tasks
but without brackets around the whole definition, with possible issues
on the call sites (noticed with a subsequent fix for KSTK_ESP).

Fixes: 5f888a1d33c4 (ARM64: perf: support dwarf unwinding in compat mode)
Reported-by: Sudeep Holla <sudeep.holla@arm.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/ptrace.h