summaryrefslogtreecommitdiff
path: root/drivers/s390/net/qeth_main.c
diff options
context:
space:
mode:
authorFrank Blaschka <frank.blaschka@de.ibm.com>2007-07-12 14:51:35 +0400
committerJeff Garzik <jeff@garzik.org>2007-07-17 02:28:04 +0400
commit54ab2927d38536f6d437bdd0d7454b99bf67a48c (patch)
tree197a66a1255d2f267cc4ad1c494fcdbe5fce6014 /drivers/s390/net/qeth_main.c
parentaa617aa9568e5fc80103194f5a6da2977c305f10 (diff)
downloadlinux-54ab2927d38536f6d437bdd0d7454b99bf67a48c.tar.xz
s390: add barriers to qeth driver
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>
Diffstat (limited to 'drivers/s390/net/qeth_main.c')
-rw-r--r--drivers/s390/net/qeth_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_main.c b/drivers/s390/net/qeth_main.c
index 8dca93598ea3..57f69434fbf9 100644
--- 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);