Commit f1c7ea26 authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky

s390/extmem: add missing memory clobber to dcss_set_subcodes

Add the missing memory clobber / barrier to dcss_set_subcodes() to
tell the compiler that the inline assembly accesses memory (name
string).
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 86fa7087
...@@ -122,7 +122,7 @@ dcss_set_subcodes(void) ...@@ -122,7 +122,7 @@ dcss_set_subcodes(void)
"1: la %2,3\n" "1: la %2,3\n"
"2:\n" "2:\n"
EX_TABLE(0b, 1b) EX_TABLE(0b, 1b)
: "+d" (rx), "+d" (ry), "=d" (rc) : : "cc"); : "+d" (rx), "+d" (ry), "=d" (rc) : : "cc", "memory");
kfree(name); kfree(name);
/* Diag x'64' new subcodes are supported, set to new subcodes */ /* Diag x'64' new subcodes are supported, set to new subcodes */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment