On Mon, Oct 29, 2018 at 10:10:26AM -0700, ndesaulniers@xxxxxxxxxx wrote: > From: Tri Vo <trong@xxxxxxxxxxx> > > commit 2a6c7c367de82951c98a290a21156770f6f82c84 upstream > > x0 is not callee-saved in the PCS. So there is no need to specify > -fcall-used-x0. > > Clang doesn't currently support -fcall-used flags. This patch will help > building the kernel with clang. > > Tested-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx> > Acked-by: Will Deacon <will.deacon@xxxxxxx> > Signed-off-by: Tri Vo <trong@xxxxxxxxxxx> > Signed-off-by: Catalin Marinas <catalin.marinas@xxxxxxx> > Signed-off-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx> > --- > Sending to stable for inclusion in 4.14. Needed for > CONFIG_ARM64_LSE_ATOMICS. Now queued up, and also added to 4.18.y and 4.19.y and 4.9.y thanks, greg k-h