xref: /linux/arch/arm/include/asm/fpu.h (revision 151ebcf0797b1a3ba53c8843dc21748c80e098c7)
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