arm64: ftrace: Modernise annotation of return_to_handler
authorMark Brown <broonie@kernel.org>
Tue, 18 Feb 2020 19:58:32 +0000 (19:58 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 9 Mar 2020 17:35:16 +0000 (17:35 +0000)
commit1e4729ed028d1e70508926a58363ee85243fdaaa
tree8d650454e1746214f12f9b7907bc5c226d790bb3
parente434b08b442b63b431de2737a99885e07efd1b0e
arm64: ftrace: Modernise annotation of return_to_handler

In an effort to clarify and simplify the annotation of assembly
functions new macros have been introduced. These replace ENTRY and
ENDPROC with two different annotations for normal functions and those
with unusual calling conventions.

return_to_handler does entertaining things with LR so doesn't follow the
usual C conventions and should therefore be annotated as code rather than
a function.

Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/entry-ftrace.S