1 /* 2 * linux/arch/arm64/include/asm/neon.h 3 * 4 * Copyright (C) 2013 Linaro Ltd <ard.biesheuvel@linaro.org> 5 * 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. 9 */ 10 11 #include <linux/types.h> 12 #include <asm/fpsimd.h> 13 14 #define cpu_has_neon() system_supports_fpsimd() 15 16 #define kernel_neon_begin() kernel_neon_begin_partial(32) 17 18 void kernel_neon_begin_partial(u32 num_regs); 19 void kernel_neon_end(void); 20