xref: /linux/arch/arm64/include/asm/neon.h (revision 0526b56cbc3c489642bd6a5fe4b718dea7ef0ee8)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * linux/arch/arm64/include/asm/neon.h
4  *
5  * Copyright (C) 2013 Linaro Ltd <ard.biesheuvel@linaro.org>
6  */
7 
8 #ifndef __ASM_NEON_H
9 #define __ASM_NEON_H
10 
11 #include <linux/types.h>
12 #include <asm/fpsimd.h>
13 
14 #define cpu_has_neon()		system_supports_fpsimd()
15 
16 void kernel_neon_begin(void);
17 void kernel_neon_end(void);
18 
19 #endif /* ! __ASM_NEON_H */
20