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>
This commit is contained in:
Heiko Carstens 2016-12-13 13:24:03 +01:00 committed by Martin Schwidefsky
parent f1c7ea2617
commit d03502684b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}