summaryrefslogtreecommitdiff
path: root/include/linux/compiler-clang.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-04-26 17:11:32 +0100
committerGreg Hackmann <ghackmann@google.com>2017-10-09 14:00:13 -0700
commitb9c115c89fcc8c3d8038cd7d14f8e754cebbcb93 (patch)
treefe926b237ad238485b8cc85f602e9529230e08e0 /include/linux/compiler-clang.h
parentea2f9b02ed2fb2a0ab3d0f3d427db27ef550dab2 (diff)
UPSTREAM: crypto: arm64/sha - avoid non-standard inline asm tricks
Replace the inline asm which exports struct offsets as ELF symbols with proper const variables exposing the same values. This works around an issue with Clang which does not interpret the "i" (or "I") constraints in the same way as GCC. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Tested-by: Matthias Kaehlcke <mka@chromium.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> (cherry picked from commit f4857f4c2ee9aa4e2aacac1a845352b00197fb57) Signed-off-by: Greg Hackmann <ghackmann@google.com> Change-Id: I1f882de15bd447d6fc41858dfc0cbfd3f6e2466c
Diffstat (limited to 'include/linux/compiler-clang.h')
0 files changed, 0 insertions, 0 deletions