summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorSami Tolvanen <samitolvanen@google.com>2019-10-31 12:57:05 -0700
committerWill Deacon <will@kernel.org>2020-01-16 17:25:10 +0000
commite0d5896bd356cd577f9710a02d7a474cdf58426b (patch)
tree71b7d809433f946029bb3dd4d27ad17cf552cd4d /.clang-format
parent46cf053efec6a3a5f343fead837777efe8252a46 (diff)
downloadlinux-e0d5896bd356cd577f9710a02d7a474cdf58426b.tar.bz2
arm64: lse: fix LSE atomics with LLVM's integrated assembler
Unlike gcc, clang considers each inline assembly block to be independent and therefore, when using the integrated assembler for inline assembly, any preambles that enable features must be repeated in each block. This change defines __LSE_PREAMBLE and adds it to each inline assembly block that has LSE instructions, which allows them to be compiled also with clang's assembler. Link: https://github.com/ClangBuiltLinux/linux/issues/671 Signed-off-by: Sami Tolvanen <samitolvanen@google.com> Tested-by: Andrew Murray <andrew.murray@arm.com> Tested-by: Kees Cook <keescook@chromium.org> Reviewed-by: Andrew Murray <andrew.murray@arm.com> Reviewed-by: Kees Cook <keescook@chromium.org> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions