android_kernel_oneplus_msm8998/arch/xtensa/kernel
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
..
.gitignore
align.S
asm-offsets.c xtensa: fix coprocessor context offset definitions 2018-12-13 09:21:26 +01:00
coprocessor.S
entry.S
head.S xtensa: SMP: fix secondary CPU initialization 2019-03-23 08:44:25 +01:00
irq.c xtensa: don't use linux IRQ #0 2017-06-17 06:39:38 +02:00
Makefile
mcount.S
module.c
mxhead.S
pci-dma.c
pci.c
perf_event.c
platform.c
process.c xtensa: enable coprocessors that are being flushed 2018-12-13 09:21:26 +01:00
ptrace.c
setup.c
signal.c
smp.c xtensa: SMP: limit number of possible CPUs by NR_CPUS 2019-03-23 08:44:25 +01:00
stacktrace.c xtensa: fix return_address 2019-04-27 09:33:56 +02:00
syscall.c mm: larger stack guard gap, between vmas 2017-06-26 07:13:11 +02:00
time.c xtensa: SMP: fix ccount_timer_shutdown 2019-03-23 08:44:24 +01:00
traps.c signal/xtensa: Consistenly use SIGBUS in do_unaligned_user 2018-07-03 11:21:26 +02:00
vectors.S
vmlinux.lds.S xtensa: add NOTES section to the linker script 2018-11-21 09:27:41 +01:00
xtensa_ksyms.c