diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2016-12-13 09:50:30 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-12-14 16:33:41 +0100 |
commit | 7a71fd1c59dfd20fac4d14486d63d3d5ab70498a (patch) | |
tree | 50466ef7939ae6850cc36212ca2ab9cc3cb8964a /crypto/anubis.c | |
parent | 259acc5c255a4260b3db0461afd5d93fabfe8524 (diff) | |
download | linux-7a71fd1c59dfd20fac4d14486d63d3d5ab70498a.tar.bz2 |
s390/lib: add missing memory barriers to string inline assemblies
We have a couple of inline assemblies like memchr() and strlen() that
read from memory, but tell the compiler only they need the addresses
of the strings they access.
This allows the compiler to omit the initialization of such strings
and therefore generate broken code. Add the missing memory barrier to
all string related inline assemblies to fix this potential issue. It
looks like the compiler currently does not generate broken code due to
these bugs.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'crypto/anubis.c')
0 files changed, 0 insertions, 0 deletions