]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: stacktrace: Move start_backtrace() out of the header
authorMark Brown <broonie@kernel.org>
Fri, 19 Mar 2021 17:40:22 +0000 (17:40 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Sun, 28 Mar 2021 17:09:47 +0000 (18:09 +0100)
commit76b594d6d900e4757260199abbcbd8fafbf6775e
tree88aa566ac226a82bb9b3a616021be12f987c503a
parentb7c91b6e993419c88e6456e94fc3b3baa0136c08
arm64: stacktrace: Move start_backtrace() out of the header

Currently start_backtrace() is a static inline function in the header.
Since it really shouldn't be sufficiently performance critical that we
actually need to have it inlined move it into a C file, this will save
anyone else scratching their head about why it is defined in the header.
As far as I can see it's only there because it was factored out of the
various callers.

Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20210319174022.33051-1-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/stacktrace.h
arch/arm64/kernel/stacktrace.c