]> git.baikalelectronics.ru Git - kernel.git/commit
arch: Make ARCH_STACKWALK independent of STACKTRACE
authorPeter Zijlstra <peterz@infradead.org>
Mon, 29 Nov 2021 14:28:41 +0000 (14:28 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 10 Dec 2021 14:06:03 +0000 (14:06 +0000)
commit2562b56fa662e926db8385fef043f54a9b744aed
tree30f692ae1a5f8d6539c2b29ccc826a82e106ba98
parentff04131966d1a79c1b3cf26997a8e7d1433f1b7d
arch: Make ARCH_STACKWALK independent of STACKTRACE

Make arch_stack_walk() available for ARCH_STACKWALK architectures
without it being entangled in STACKTRACE.

Link: https://lore.kernel.org/lkml/20211022152104.356586621@infradead.org/
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
[Mark: rebase, drop unnecessary arm change]
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Link: https://lore.kernel.org/r/20211129142849.3056714-2-mark.rutland@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/stacktrace.c
arch/powerpc/kernel/Makefile
arch/riscv/kernel/stacktrace.c
arch/s390/kernel/Makefile
arch/x86/kernel/Makefile
include/linux/stacktrace.h