20 lines
429 B
C
20 lines
429 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* linux/arch/arm64/include/asm/neon.h
|
|
*
|
|
* Copyright (C) 2013 Linaro Ltd <ard.biesheuvel@linaro.org>
|
|
*/
|
|
|
|
#ifndef __ASM_NEON_H
|
|
#define __ASM_NEON_H
|
|
|
|
#include <linux/types.h>
|
|
#include <asm/fpsimd.h>
|
|
|
|
#define cpu_has_neon() system_supports_fpsimd()
|
|
|
|
void kernel_neon_begin(struct user_fpsimd_state *);
|
|
void kernel_neon_end(struct user_fpsimd_state *);
|
|
|
|
#endif /* ! __ASM_NEON_H */
|