]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Make some stacktrace functions private
authorMark Rutland <mark.rutland@arm.com>
Mon, 29 Nov 2021 14:28:49 +0000 (14:28 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 10 Dec 2021 14:06:04 +0000 (14:06 +0000)
commit0109cc102e1933c1777a12716f7d1f00c59e51ec
treef6348c899e37c4f114cd9ec355c7f7d70ea91c26
parent145cbda2d61f91a9763bf41bd234590568eafb0f
arm64: Make some stacktrace functions private

Now that open-coded stack unwinds have been converted to
arch_stack_walk(), we no longer need to expose any of unwind_frame(),
walk_stackframe(), or start_backtrace() outside of stacktrace.c.

Make those functions private to stacktrace.c, removing their prototypes
from <asm/stacktrace.h> and marking them static.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Cc: Madhavan T. Venkataraman <madvenka@linux.microsoft.com>
Link: https://lore.kernel.org/r/20211129142849.3056714-10-mark.rutland@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/stacktrace.h
arch/arm64/kernel/stacktrace.c