diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2006-07-23 22:19:00 +0200 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2006-09-17 19:29:31 +0200 |
commit | e8398bb737ceadff8825aa98cb9f4a5e96857546 (patch) | |
tree | 049eb24f1e8c2277160b58237443a7cf056325b7 /drivers/ieee1394/sbp2.h | |
parent | 6065772d54a3b994b9b5d3df6413ec6a1c8c2ec1 (diff) | |
download | linux-e8398bb737ceadff8825aa98cb9f4a5e96857546.tar.bz2 |
ieee1394: sbp2: convert sbp2util_down_timeout to waitqueue
The waitqueue API is used to replace a custom wait mechanism. Only one
global waitqueue (instead of per-device waitqueues or completions) is
added because there is usually just one waiter.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394/sbp2.h')
-rw-r--r-- | drivers/ieee1394/sbp2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ieee1394/sbp2.h b/drivers/ieee1394/sbp2.h index 34e3d37fc79f..89098fe565e9 100644 --- a/drivers/ieee1394/sbp2.h +++ b/drivers/ieee1394/sbp2.h @@ -320,9 +320,9 @@ struct scsi_id_instance_data { u64 status_fifo_addr; /* - * Variable used for logins, reconnects, logouts, query logins + * Waitqueue flag for logins, reconnects, logouts, query logins */ - atomic_t sbp2_login_complete; + int access_complete:1; /* * Pool of command orbs, so we can have more than overlapped command per id |