xref: /linux/arch/arm64/include/asm/fpu.h (revision 266aa3b4812e97942a8ce5c7aafa7da059f7b5b8)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (C) 2023 SiFive
4  */
5 
6 #ifndef __ASM_FPU_H
7 #define __ASM_FPU_H
8 
9 #include <asm/neon.h>
10 
11 #define kernel_fpu_available()	cpu_has_neon()
12 #define kernel_fpu_begin()	kernel_neon_begin()
13 #define kernel_fpu_end()	kernel_neon_end()
14 
15 #endif /* ! __ASM_FPU_H */
16