2 * Copyright (C) 2018 Linaro, Ltd. <ard.biesheuvel@linaro.org>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
9 #ifndef __ASM_NEON_INTRINSICS_H
10 #define __ASM_NEON_INTRINSICS_H
12 #include <asm-generic/int-ll64.h>
15 * In the kernel, u64/s64 are [un]signed long long, not [un]signed long.
16 * So by redefining these macros to the former, we can force gcc-stdint.h
17 * to define uint64_t / in64_t in a compatible manner.
22 #define __INT64_TYPE__ long long
25 #ifdef __UINT64_TYPE__
26 #undef __UINT64_TYPE__
27 #define __UINT64_TYPE__ unsigned long long
31 * genksyms chokes on the ARM NEON instrinsics system header, but we
32 * don't export anything it defines anyway, so just disregard when
39 #ifdef CONFIG_CC_IS_CLANG
40 #pragma clang diagnostic ignored "-Wincompatible-pointer-types"
43 #endif /* __ASM_NEON_INTRINSICS_H */