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