forked from Minki/linux
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>
This commit is contained in:
parent
aa617aa956
commit
54ab2927d3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user