]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit25cd7311dade510214c2a37e5e391176d2f2ea0c
treeb4cf165384ae2c9e893532ca633b6acd2cb034f9
parent5fb83ede65f0f3646a60658bf32427c223b8b808
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