Max Filippov aea59964f5 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:36:47 +02:00
..
2019-02-20 10:18:32 +01:00
2019-03-23 13:19:47 +01:00
2016-10-19 08:39:47 -07:00
2018-11-13 11:16:47 -08:00
2019-04-17 08:36:47 +02:00