Will Deacon 1e6f5440a6 arm64: backtrace: Don't bother trying to unwind the userspace stack
Calling dump_backtrace() with a pt_regs argument corresponding to
userspace doesn't make any sense and our unwinder will simply print
"Call trace:" before unwinding the stack looking for user frames.

Rather than go through this song and dance, just return early if we're
passed a user register state.

Cc: <stable@vger.kernel.org>
Fixes: 1149aad10b1e ("arm64: Add dump_backtrace() in show_regs")
Reported-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2019-04-08 18:05:24 +01:00
..
2018-07-18 01:18:05 +09:00
2018-10-31 08:54:16 -07:00
2018-11-02 17:24:17 +00:00
2019-02-26 16:57:59 +00:00
2019-02-06 10:05:18 +00:00
2019-03-10 10:17:23 -07:00
2018-07-12 14:49:48 +01:00
2019-01-05 11:28:39 -08:00
2018-07-12 14:49:48 +01:00
2017-08-09 12:16:28 +01:00