diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2016-12-13 13:24:03 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-12-14 16:33:41 +0100 |
commit | d03502684b65492339d70f11aa8ed6df3961a3bf (patch) | |
tree | dc627d0fba0de12559fbe3c969ac32732985852a | |
parent | f1c7ea26178176ca783cc2ac54f211630344290c (diff) |
s390/zcrypt: add missing memory clobber to ap_qci inline assembly
The ap_qci() inline assembly writes to memory (*config) but misses to
tell the compiler about it. Add the missing memory clobber to fix
this.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r-- | drivers/s390/crypto/ap_asm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/crypto/ap_asm.h b/drivers/s390/crypto/ap_asm.h index 12fffdd1e8e8..7a630047c372 100644 --- a/drivers/s390/crypto/ap_asm.h +++ b/drivers/s390/crypto/ap_asm.h @@ -108,7 +108,7 @@ static inline int ap_qci(void *config) EX_TABLE(0b, 1b) : "+d" (reg0), "+d" (reg1), "+d" (reg2) : - : "cc"); + : "cc", "memory"); return reg1; } |