Files
kernel/arch/xtensa/kernel
Max Filippov f7b778b900 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>
2019-04-17 08:38:53 +02:00
..
2018-08-20 12:28:05 -07:00
2016-12-25 10:47:44 +01:00
2019-03-10 07:17:21 +01:00
2019-04-17 08:38:53 +02:00
2019-03-13 14:02:28 -07:00