arch/arm64/include/asm/neon.h
raw| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | /* |
| 3 | * linux/arch/arm64/include/asm/neon.h |
| 4 | * |
| 5 | * Copyright (C) 2013 Linaro Ltd <[email protected]> |
| 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(struct user_fpsimd_state *); |
| 17 | void kernel_neon_end(struct user_fpsimd_state *); |
| 18 | |
| 19 | #endif /* ! __ASM_NEON_H */ |