projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86fa708
)
s390/extmem: add missing memory clobber to dcss_set_subcodes
author
Heiko Carstens
<heiko.carstens@de.ibm.com>
Tue, 13 Dec 2016 11:51:19 +0000
(12:51 +0100)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Wed, 14 Dec 2016 15:33:41 +0000
(16:33 +0100)
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>
arch/s390/mm/extmem.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/s390/mm/extmem.c
b/arch/s390/mm/extmem.c
index 02042b6b66bfa52f2f1039aa017d85dcd0964c26..362237203144d146c0dfa7379bf76ecba6fc51d7 100644
(file)
--- a/
arch/s390/mm/extmem.c
+++ b/
arch/s390/mm/extmem.c
@@
-122,7
+122,7
@@
dcss_set_subcodes(void)
"1: la %2,3\n"
"2:\n"
EX_TABLE(0b, 1b)
- : "+d" (rx), "+d" (ry), "=d" (rc) : : "cc");
+ : "+d" (rx), "+d" (ry), "=d" (rc) : : "cc"
, "memory"
);
kfree(name);
/* Diag x'64' new subcodes are supported, set to new subcodes */