diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2017-04-24 10:09:50 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-04-24 10:09:50 +0200 |
commit | 899f35fabeea0d51fbfa146aaeaa9fc8f3b00292 (patch) | |
tree | c4445655c6c4763f96fc0bd5a2b016b5254d647f /arch | |
parent | crypto: ccp - Disable interrupts early on unload (diff) | |
download | linux-899f35fabeea0d51fbfa146aaeaa9fc8f3b00292.tar.xz linux-899f35fabeea0d51fbfa146aaeaa9fc8f3b00292.zip |
Revert "crypto: arm64/sha - Add constant operand modifier to ASM_EXPORT"
This reverts commit 42ae2922a68ac8d68927ccb052b486f34e5fba71. It
causes a regression with older versions of gcc. The consensus is
that this should instead be fixed in clang.
Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/crypto/sha1-ce-glue.c | 2 | ||||
-rw-r--r-- | arch/arm64/crypto/sha2-ce-glue.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/crypto/sha1-ce-glue.c b/arch/arm64/crypto/sha1-ce-glue.c index 6b520e3f3ab1..aefda9868627 100644 --- a/arch/arm64/crypto/sha1-ce-glue.c +++ b/arch/arm64/crypto/sha1-ce-glue.c @@ -18,7 +18,7 @@ #include <linux/module.h> #define ASM_EXPORT(sym, val) \ - asm(".globl " #sym "; .set " #sym ", %c0" :: "i"(val)); + asm(".globl " #sym "; .set " #sym ", %0" :: "I"(val)); MODULE_DESCRIPTION("SHA1 secure hash using ARMv8 Crypto Extensions"); MODULE_AUTHOR("Ard Biesheuvel <ard.biesheuvel@linaro.org>"); diff --git a/arch/arm64/crypto/sha2-ce-glue.c b/arch/arm64/crypto/sha2-ce-glue.c index e3abe11de48c..7cd587564a41 100644 --- a/arch/arm64/crypto/sha2-ce-glue.c +++ b/arch/arm64/crypto/sha2-ce-glue.c @@ -18,7 +18,7 @@ #include <linux/module.h> #define ASM_EXPORT(sym, val) \ - asm(".globl " #sym "; .set " #sym ", %c0" :: "i"(val)); + asm(".globl " #sym "; .set " #sym ", %0" :: "I"(val)); MODULE_DESCRIPTION("SHA-224/SHA-256 secure hash using ARMv8 Crypto Extensions"); MODULE_AUTHOR("Ard Biesheuvel <ard.biesheuvel@linaro.org>"); |