From: Ursula Braun <braunu@de.ibm.com>
To: jgarzik@pobox.com, netdev@vger.kernel.org, linux-s390@vger.kernel.org
Cc: Frank Blaschka <frank.blaschka@de.ibm.com>,
Frank Pavlic <fpavlic@de.ibm.com>
Subject: [patch 2/2] s390: add barriers to qeth driver
Date: Thu, 12 Jul 2007 12:51:35 +0200 [thread overview]
Message-ID: <20070712105450.780847000@linux.vnet.ibm.com> (raw)
In-Reply-To: 20070712105133.165267000@linux.vnet.ibm.com
[-- Attachment #1: 703-qeth-barriers.diff --]
[-- Type: text/plain, Size: 763 bytes --]
From: Frank Blaschka <frank.blaschka@de.ibm.com>
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>
---
drivers/s390/net/qeth_main.c | 1 +
1 files changed, 1 insertion(+)
Index: linux-2.6-uschi/drivers/s390/net/qeth_main.c
===================================================================
--- linux-2.6-uschi.orig/drivers/s390/net/qeth_main.c
+++ linux-2.6-uschi/drivers/s390/net/qeth_main.c
@@ -1935,6 +1935,7 @@ qeth_send_control_data(struct qeth_card
atomic_inc(&reply->received);
wake_up(&reply->wait_q);
}
+ cpu_relax();
};
rc = reply->rc;
qeth_put_reply(reply);
--
next prev parent reply other threads:[~2007-07-12 10:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-12 10:51 [patch 0/2] qeth patches for 2.6.23 Ursula Braun
2007-07-12 10:51 ` [patch 1/2] s390: scatter-gather for inbound traffic in qeth driver Ursula Braun
2007-07-16 22:29 ` Jeff Garzik
2007-07-12 10:51 ` Ursula Braun [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-07-12 7:50 [patch 0/2] qeth patches for 2.6.23 Ursula.Braun.braunu
2007-07-12 7:51 ` [patch 2/2] s390: add barriers to qeth driver Ursula.Braun.braunu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070712105450.780847000@linux.vnet.ibm.com \
--to=braunu@de.ibm.com \
--cc=fpavlic@de.ibm.com \
--cc=frank.blaschka@de.ibm.com \
--cc=jgarzik@pobox.com \
--cc=linux-s390@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).