提交 d0350268 编写于 作者: H Heiko Carstens 提交者: Martin Schwidefsky

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: NHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 f1c7ea26
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册