Re: [PATCH v2 1/2] arm64: add workaround for ambiguous C99 stdint.h types

2018-11-27 Thread JackieLiu
Yep, you are right. I will change code later. But now, I found an new problem, when build the kernel, I got follow message: WARNING: EXPORT symbol "xor_block_inner_neon" [arch/arm64/lib/xor-neon.ko] version generation failed, symbol will not be versioned. I don’t know why, do you have any idea

Re: [PATCH v2 1/2] arm64: add workaround for ambiguous C99 stdint.h types

2018-11-27 Thread Ard Biesheuvel
On Tue, 27 Nov 2018 at 06:28, Jackie Liu wrote: > > In a way similar to ARM commit 09096f6a0ee2 ("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

[PATCH v2 1/2] arm64: add workaround for ambiguous C99 stdint.h types

2018-11-26 Thread Jackie Liu
In a way similar to ARM commit 09096f6a0ee2 ("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.kerne