xref: /openbmc/linux/arch/arm64/kvm/hyp/fpsimd.S (revision bcd684aa)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (C) 2015 - ARM Ltd
4 * Author: Marc Zyngier <marc.zyngier@arm.com>
5 */
6
7#include <linux/linkage.h>
8
9#include <asm/fpsimdmacros.h>
10
11	.text
12
13SYM_FUNC_START(__fpsimd_save_state)
14	fpsimd_save	x0, 1
15	ret
16SYM_FUNC_END(__fpsimd_save_state)
17
18SYM_FUNC_START(__fpsimd_restore_state)
19	fpsimd_restore	x0, 1
20	ret
21SYM_FUNC_END(__fpsimd_restore_state)
22