Commit 54ab2927 authored by Frank Blaschka's avatar Frank Blaschka Committed by Jeff Garzik

s390: add barriers to qeth driver

Add barrier to loop where atomic variable is evaluated.
Signed-off-by: default avatarFrank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: default avatarUrsula Braun <braunu@de.ibm.com>
Signed-off-by: default avatarFrank Pavlic <fpavlic@de.ibm.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent aa617aa9
...@@ -1935,6 +1935,7 @@ qeth_send_control_data(struct qeth_card *card, int len, ...@@ -1935,6 +1935,7 @@ qeth_send_control_data(struct qeth_card *card, int len,
atomic_inc(&reply->received); atomic_inc(&reply->received);
wake_up(&reply->wait_q); wake_up(&reply->wait_q);
} }
cpu_relax();
}; };
rc = reply->rc; rc = reply->rc;
qeth_put_reply(reply); qeth_put_reply(reply);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment