2019-06-03 13:44:50 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2015-10-26 16:34:09 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2015 - ARM Ltd
|
|
|
|
* Author: Marc Zyngier <marc.zyngier@arm.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/linkage.h>
|
|
|
|
|
|
|
|
#include <asm/fpsimdmacros.h>
|
|
|
|
|
|
|
|
.text
|
|
|
|
|
2020-02-19 03:58:37 +08:00
|
|
|
SYM_FUNC_START(__fpsimd_save_state)
|
2015-10-26 16:34:09 +08:00
|
|
|
fpsimd_save x0, 1
|
|
|
|
ret
|
2020-02-19 03:58:37 +08:00
|
|
|
SYM_FUNC_END(__fpsimd_save_state)
|
2015-10-26 16:34:09 +08:00
|
|
|
|
2020-02-19 03:58:37 +08:00
|
|
|
SYM_FUNC_START(__fpsimd_restore_state)
|
2015-10-26 16:34:09 +08:00
|
|
|
fpsimd_restore x0, 1
|
|
|
|
ret
|
2020-02-19 03:58:37 +08:00
|
|
|
SYM_FUNC_END(__fpsimd_restore_state)
|