summaryrefslogtreecommitdiff
path: root/arch/x86/events
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2019-04-04 11:08:40 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-17 08:37:54 +0200
commit9ab04e849f5b6c2d679a5ae383187997e7e98232 (patch)
tree0a1190f877e1862a4719ab34d531dbadc1517641 /arch/x86/events
parentb711ae1252a072ed600fee34d0e06230fda0a1f4 (diff)
xtensa: fix return_address
commit ada770b1e74a77fff2d5f539bf6c42c25f4784db upstream. return_address returns the address that is one level higher in the call stack than requested in its argument, because level 0 corresponds to its caller's return address. Use requested level as the number of stack frames to skip. This fixes the address reported by might_sleep and friends. Cc: stable@vger.kernel.org Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/events')
0 files changed, 0 insertions, 0 deletions