android_kernel_oneplus_msm8998/arch/xtensa
Max Filippov 34419534a7 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-27 09:33:56 +02:00
..
boot xtensa: add NOTES section to the linker script 2018-11-21 09:27:41 +01:00
configs xtensa: smp_lx200_defconfig: fix vectors clash 2019-03-23 08:44:25 +01:00
include xtensa: make sure bFLT stack is 16 byte aligned 2018-11-21 09:27:41 +01:00
kernel xtensa: fix return_address 2019-04-27 09:33:56 +02:00
lib xtensa: fixes for configs without loop option 2015-11-02 18:02:47 +03:00
mm xtensa: fix preemption in {clear,copy}_user_highpage 2016-04-12 09:08:55 -07:00
oprofile xtensa: move oprofile stack tracing to stacktrace.c 2015-08-17 07:32:49 +03:00
platforms xtensa: don't use linux IRQ #0 2017-06-17 06:39:38 +02:00
variants xtensa: add de212 core variant 2015-11-02 18:03:09 +03:00
Kconfig xtensa: add FORCE_MAX_ZONEORDER to Kconfig 2015-11-03 17:19:37 +03:00
Kconfig.debug xtensa: disable link optimization 2014-12-15 23:47:24 -08:00
Makefile xtensa: enable building of all dtbs 2015-10-27 16:12:16 -05:00