Skip to content

Commit

Permalink
s390: add barriers to qeth driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Frank Blaschka authored and Jeff Garzik committed Jul 16, 2007
1 parent aa617aa commit 54ab292
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/s390/net/qeth_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 54ab292

Please sign in to comment.