summaryrefslogtreecommitdiff
path: root/arch/arm64/kvm/hyp/fpsimd.S
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2020-02-18 19:58:37 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2020-03-09 17:35:29 +0000
commit617a2f392c92dbdeed21817d3d7e1a1e85719550 (patch)
treeb2a093e5a23a7cbbc6b7905d27c0875cc15d2f86 /arch/arm64/kvm/hyp/fpsimd.S
parenta5d4420b26b5068a98ce75210b07d2e083f5f691 (diff)
downloadlinux-617a2f392c92dbdeed21817d3d7e1a1e85719550.tar.gz
arm64: kvm: Annotate assembly using modern annoations
In an effort to clarify and simplify the annotation of assembly functions in the kernel new macros have been introduced. These replace ENTRY and ENDPROC with separate annotations for standard C callable functions, data and code with different calling conventions. Update the more straightforward annotations in the kvm code to the new macros. Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/kvm/hyp/fpsimd.S')
-rw-r--r--arch/arm64/kvm/hyp/fpsimd.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm64/kvm/hyp/fpsimd.S b/arch/arm64/kvm/hyp/fpsimd.S
index 78ff53225691..5b8ff517ff10 100644
--- a/arch/arm64/kvm/hyp/fpsimd.S
+++ b/arch/arm64/kvm/hyp/fpsimd.S
@@ -11,12 +11,12 @@
.text
.pushsection .hyp.text, "ax"
-ENTRY(__fpsimd_save_state)
+SYM_FUNC_START(__fpsimd_save_state)
fpsimd_save x0, 1
ret
-ENDPROC(__fpsimd_save_state)
+SYM_FUNC_END(__fpsimd_save_state)
-ENTRY(__fpsimd_restore_state)
+SYM_FUNC_START(__fpsimd_restore_state)
fpsimd_restore x0, 1
ret
-ENDPROC(__fpsimd_restore_state)
+SYM_FUNC_END(__fpsimd_restore_state)