treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / arm64 / kvm / hyp / fpsimd.S
blob78ff53225691a06518615e2fcd0432b62f89eab3
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (C) 2015 - ARM Ltd
4  * Author: Marc Zyngier <marc.zyngier@arm.com>
5  */
7 #include <linux/linkage.h>
9 #include <asm/fpsimdmacros.h>
11         .text
12         .pushsection    .hyp.text, "ax"
14 ENTRY(__fpsimd_save_state)
15         fpsimd_save     x0, 1
16         ret
17 ENDPROC(__fpsimd_save_state)
19 ENTRY(__fpsimd_restore_state)
20         fpsimd_restore  x0, 1
21         ret
22 ENDPROC(__fpsimd_restore_state)