ARM: export dump_mem() to other objects
authorArd Biesheuvel <ardb@kernel.org>
Tue, 5 Oct 2021 07:15:38 +0000 (09:15 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Fri, 3 Dec 2021 14:11:31 +0000 (15:11 +0100)
commit8cdfdf7fe4fec5a952edfb8927ee7cc639c58184
tree985c2f3efd48a2d8101d408ab408b5dc19467163
parentb6506981f880de87a069167de85935f583a95fc1
ARM: export dump_mem() to other objects

The unwind info based stack unwinder will make its own call to
dump_mem() to dump the exception stack, so give it external linkage.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Keith Packard <keithpac@amazon.com>
Tested-by: Marc Zyngier <maz@kernel.org>
Tested-by: Vladimir Murzin <vladimir.murzin@arm.com> # ARMv7M
arch/arm/include/asm/stacktrace.h
arch/arm/kernel/traps.c