diff options
author | Frank Blaschka <Frank.Blaschka@de.ibm.com> | 2007-01-08 17:30:11 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-01-09 02:18:32 -0500 |
commit | ee2db684b4b92d138ee3b7326e69f4297cf4beca (patch) | |
tree | 3fa3a0c3067f6d6f3534b9c6af17bea230bbdc8f /drivers/s390/net/qeth.h | |
parent | 2d36c16eb032239cb038ad875ecf83c545002461 (diff) |
s390: qeth driver fixes: atomic context fixups
- qeth device functions were not callable
in atomic context due to usage of wait_event_xxx operations in qeth.
"schedule while atomic" message appeared and kernel dumped when
removing slave from bond device.
Signed-off-by: Frank Pavlic <fpavlic@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/s390/net/qeth.h')
-rw-r--r-- | drivers/s390/net/qeth.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth.h b/drivers/s390/net/qeth.h index 53c358c7d36..e95c281f1e3 100644 --- a/drivers/s390/net/qeth.h +++ b/drivers/s390/net/qeth.h @@ -710,7 +710,7 @@ struct qeth_reply { int (*callback)(struct qeth_card *,struct qeth_reply *,unsigned long); u32 seqno; unsigned long offset; - int received; + atomic_t received; int rc; void *param; struct qeth_card *card; |