neon.h 429 B

12345678910111213141516171819
  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. #ifndef __ASM_NEON_H
  8. #define __ASM_NEON_H
  9. #include <linux/types.h>
  10. #include <asm/fpsimd.h>
  11. #define cpu_has_neon() system_supports_fpsimd()
  12. void kernel_neon_begin(struct user_fpsimd_state *);
  13. void kernel_neon_end(struct user_fpsimd_state *);
  14. #endif /* ! __ASM_NEON_H */