aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorFrank Blaschka <frank.blaschka@de.ibm.com>2007-07-12 06:51:35 -0400
committerJeff Garzik <jeff@garzik.org>2007-07-16 18:28:04 -0400
commit54ab2927d38536f6d437bdd0d7454b99bf67a48c (patch)
tree197a66a1255d2f267cc4ad1c494fcdbe5fce6014 /drivers
parentaa617aa9568e5fc80103194f5a6da2977c305f10 (diff)
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')
-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,
1935 atomic_inc(&reply->received); 1935 atomic_inc(&reply->received);
1936 wake_up(&reply->wait_q); 1936 wake_up(&reply->wait_q);
1937 } 1937 }
1938 cpu_relax();
1938 }; 1939 };
1939 rc = reply->rc; 1940 rc = reply->rc;
1940 qeth_put_reply(reply); 1941 qeth_put_reply(reply);