linux_dsm_epyc7002/arch/s390/lib
Heiko Carstens 7a71fd1c59 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>
2016-12-14 16:33:41 +01:00
..
delay.c
find.c
Makefile
mem.S s390: provide memmove implementation 2016-12-12 12:11:32 +01:00
probes.c
spinlock.c
string.c s390/lib: add missing memory barriers to string inline assemblies 2016-12-14 16:33:41 +01:00
uaccess.c
xor.c