]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/neon: add workaround for ambiguous C99 stdint.h types
authorJackie Liu <liuyun01@kylinos.cn>
Tue, 4 Dec 2018 01:43:22 +0000 (09:43 +0800)
committerWill Deacon <will.deacon@arm.com>
Thu, 6 Dec 2018 16:47:05 +0000 (16:47 +0000)
commit9ede1095815d457ebb0a56b0f702ddac1b423350
treee4fb045faab4c371c2e55fe73ed935d39da47a1e
parent38d6e4f79c996d72f4d44da02e7ac03ba87be22c
arm64/neon: add workaround for ambiguous C99 stdint.h types

In a way similar to ARM commit 17e5baf80185 ("ARM: 7822/1: add workaround
for ambiguous C99 stdint.h types"), this patch redefines the macros that
are used in stdint.h so its definitions of uint64_t and int64_t are
compatible with those of the kernel.

This patch comes from: https://patchwork.kernel.org/patch/3540001/
Wrote by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

We mark this file as a private file and don't have to override asm/types.h

Signed-off-by: Jackie Liu <liuyun01@kylinos.cn>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/neon-intrinsics.h [new file with mode: 0644]