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>
Showing
- arch/arm64/kernel/stacktrace.c 0 additions, 4 deletionsarch/arm64/kernel/stacktrace.c
- arch/powerpc/kernel/Makefile 1 addition, 2 deletionsarch/powerpc/kernel/Makefile
- arch/riscv/kernel/stacktrace.c 0 additions, 4 deletionsarch/riscv/kernel/stacktrace.c
- arch/s390/kernel/Makefile 1 addition, 2 deletionsarch/s390/kernel/Makefile
- arch/x86/kernel/Makefile 1 addition, 1 deletionarch/x86/kernel/Makefile
- include/linux/stacktrace.h 18 additions, 17 deletionsinclude/linux/stacktrace.h
Please register or sign in to comment