projects
/
GitHub
/
LineageOS
/
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:
aa617aa
)
s390: add barriers to qeth driver
author
Frank Blaschka
<frank.blaschka@de.ibm.com>
Thu, 12 Jul 2007 10:51:35 +0000
(12:51 +0200)
committer
Jeff Garzik
<jeff@garzik.org>
Mon, 16 Jul 2007 22:28:04 +0000
(18:28 -0400)
Add barrier to loop where atomic variable is evaluated.
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: Ursula Braun <braunu@de.ibm.com>
Signed-off-by: Frank Pavlic <fpavlic@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/s390/net/qeth_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/s390/net/qeth_main.c
b/drivers/s390/net/qeth_main.c
index 8dca93598ea3f243390ca7ddba811e29a7a17cba..57f69434fbf9f2319b5b9a6ac33692c80474d546 100644
(file)
--- a/
drivers/s390/net/qeth_main.c
+++ b/
drivers/s390/net/qeth_main.c
@@
-1935,6
+1935,7
@@
qeth_send_control_data(struct qeth_card *card, int len,
atomic_inc(&reply->received);
wake_up(&reply->wait_q);
}
+ cpu_relax();
};
rc = reply->rc;
qeth_put_reply(reply);