aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2016-12-13 06:51:19 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-12-14 10:33:41 -0500
commitf1c7ea26178176ca783cc2ac54f211630344290c (patch)
tree63be17655f5248faa857e0adcf48ee649e702844
parent86fa7087d348b6c8a159c77ea20e530ee1230c34 (diff)
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: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r--arch/s390/mm/extmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/mm/extmem.c b/arch/s390/mm/extmem.c
index 02042b6b66bf..362237203144 100644
--- a/arch/s390/mm/extmem.c
+++ b/arch/s390/mm/extmem.c
@@ -122,7 +122,7 @@ dcss_set_subcodes(void)
122 "1: la %2,3\n" 122 "1: la %2,3\n"
123 "2:\n" 123 "2:\n"
124 EX_TABLE(0b, 1b) 124 EX_TABLE(0b, 1b)
125 : "+d" (rx), "+d" (ry), "=d" (rc) : : "cc"); 125 : "+d" (rx), "+d" (ry), "=d" (rc) : : "cc", "memory");
126 126
127 kfree(name); 127 kfree(name);
128 /* Diag x'64' new subcodes are supported, set to new subcodes */ 128 /* Diag x'64' new subcodes are supported, set to new subcodes */