1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2018 Linaro, Ltd. <ard.biesheuvel@linaro.org>
6 #ifndef __ASM_NEON_INTRINSICS_H
7 #define __ASM_NEON_INTRINSICS_H
9 #include <asm-generic/int-ll64.h>
12 * In the kernel, u64/s64 are [un]signed long long, not [un]signed long.
13 * So by redefining these macros to the former, we can force gcc-stdint.h
14 * to define uint64_t / in64_t in a compatible manner.
19 #define __INT64_TYPE__ long long
22 #ifdef __UINT64_TYPE__
23 #undef __UINT64_TYPE__
24 #define __UINT64_TYPE__ unsigned long long
28 * genksyms chokes on the ARM NEON instrinsics system header, but we
29 * don't export anything it defines anyway, so just disregard when
36 #ifdef CONFIG_CC_IS_CLANG
37 #pragma clang diagnostic ignored "-Wincompatible-pointer-types"
40 #endif /* __ASM_NEON_INTRINSICS_H */