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