2 * linux/arch/arm64/include/asm/neon.h
4 * Copyright (C) 2013 Linaro Ltd <ard.biesheuvel@linaro.org>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
14 #include <linux/types.h>
15 #include <asm/fpsimd.h>
17 #define cpu_has_neon() system_supports_fpsimd()
19 void kernel_neon_begin(void);
20 void kernel_neon_end(void);
23 * Temporary macro to allow the crypto code to compile. Note that the
24 * semantics of kernel_neon_begin_partial() are now different from the
25 * original as it does not allow being called in an interrupt context.
27 #define kernel_neon_begin_partial(num_regs) kernel_neon_begin()
29 #endif /* ! __ASM_NEON_H */