Skip to content

Commit 54ab292

Browse files
Frank BlaschkaJeff Garzik
authored andcommitted
s390: add barriers to qeth driver
Add barrier to loop where atomic variable is evaluated. Signed-off-by: Frank Blaschka <[email protected]> Signed-off-by: Ursula Braun <[email protected]> Signed-off-by: Frank Pavlic <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
1 parent aa617aa commit 54ab292

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/s390/net/qeth_main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1935,6 +1935,7 @@ qeth_send_control_data(struct qeth_card *card, int len,
19351935
atomic_inc(&reply->received);
19361936
wake_up(&reply->wait_q);
19371937
}
1938+
cpu_relax();
19381939
};
19391940
rc = reply->rc;
19401941
qeth_put_reply(reply);

0 commit comments

Comments
 (0)