Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Heiko Carstens and committed by
Martin Schwidefsky
d0350268 f1c7ea26

+1 -1
+1 -1
drivers/s390/crypto/ap_asm.h
··· 108 108 EX_TABLE(0b, 1b) 109 109 : "+d" (reg0), "+d" (reg1), "+d" (reg2) 110 110 : 111 - : "cc"); 111 + : "cc", "memory"); 112 112 113 113 return reg1; 114 114 }