arm64: head: Annotate stext and preserve_boot_args as code
authorMark Brown <broonie@kernel.org>
Tue, 18 Feb 2020 19:58:34 +0000 (19:58 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 9 Mar 2020 17:35:20 +0000 (17:35 +0000)
commitebdf44a189984d6f72db6427194d4f5a6b07dc17
treeb4cf165384ae2c9e893532ca633b6acd2cb034f9
parentc63d9f82db94399022a193cdfd57dbafa2a871cb
arm64: head: Annotate stext and preserve_boot_args as code

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.  Neither stext nor preserve_boot_args
is called with the usual AAPCS calling conventions and they should
therefore be annotated as code.

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