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>
23 lines
426 B
ArmAsm
23 lines
426 B
ArmAsm
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) 2015 - ARM Ltd
|
|
* Author: Marc Zyngier <marc.zyngier@arm.com>
|
|
*/
|
|
|
|
#include <linux/linkage.h>
|
|
|
|
#include <asm/fpsimdmacros.h>
|
|
|
|
.text
|
|
.pushsection .hyp.text, "ax"
|
|
|
|
SYM_FUNC_START(__fpsimd_save_state)
|
|
fpsimd_save x0, 1
|
|
ret
|
|
SYM_FUNC_END(__fpsimd_save_state)
|
|
|
|
SYM_FUNC_START(__fpsimd_restore_state)
|
|
fpsimd_restore x0, 1
|
|
ret
|
|
SYM_FUNC_END(__fpsimd_restore_state)
|