xref: /openbmc/linux/arch/arm64/include/asm/neon.h (revision cb84d11e)
14cfb3613SArd Biesheuvel /*
24cfb3613SArd Biesheuvel  * linux/arch/arm64/include/asm/neon.h
34cfb3613SArd Biesheuvel  *
44cfb3613SArd Biesheuvel  * Copyright (C) 2013 Linaro Ltd <ard.biesheuvel@linaro.org>
54cfb3613SArd Biesheuvel  *
64cfb3613SArd Biesheuvel  * This program is free software; you can redistribute it and/or modify
74cfb3613SArd Biesheuvel  * it under the terms of the GNU General Public License version 2 as
84cfb3613SArd Biesheuvel  * published by the Free Software Foundation.
94cfb3613SArd Biesheuvel  */
104cfb3613SArd Biesheuvel 
110fc9179aSDave Martin #ifndef __ASM_NEON_H
120fc9179aSDave Martin #define __ASM_NEON_H
130fc9179aSDave Martin 
14190f1ca8SArd Biesheuvel #include <linux/types.h>
1582e0191aSSuzuki K Poulose #include <asm/fpsimd.h>
16190f1ca8SArd Biesheuvel 
1782e0191aSSuzuki K Poulose #define cpu_has_neon()		system_supports_fpsimd()
184cfb3613SArd Biesheuvel 
19cb84d11eSDave Martin void kernel_neon_begin(void);
204cfb3613SArd Biesheuvel void kernel_neon_end(void);
210fc9179aSDave Martin 
220fc9179aSDave Martin #endif /* ! __ASM_NEON_H */
23