]> git.ipfire.org Git - thirdparty/linux.git/commit
riscv: remove useless pc check in stacktrace handling
authorClément Léger <cleger@rivosinc.com>
Fri, 30 Aug 2024 08:49:32 +0000 (10:49 +0200)
committerAlexandre Ghiti <alexghiti@rivosinc.com>
Tue, 18 Mar 2025 09:06:21 +0000 (09:06 +0000)
commitd3817d091fe6480de5bf3faba0fc2ce25f8d023e
tree275f02d08bae7dbb28ca677de17c0dc8e734733d
parent03dc00a2b67854604c0aa8cbd32105f8b633451e
riscv: remove useless pc check in stacktrace handling

Checking for pc to be a kernel text address at this location is useless
since pc == handle_exception. Remove this check.

[ alex: Fix merge conflict ]

Signed-off-by: Clément Léger <cleger@rivosinc.com>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20240830084934.3690037-1-cleger@rivosinc.com
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
arch/riscv/kernel/stacktrace.c