diff options
author | Christoph Hellwig <hch@lst.de> | 2006-02-14 12:46:22 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-03-02 23:56:40 -0500 |
commit | 39a112403fd4c6cd2215b5a59ff079e42eb824a4 (patch) | |
tree | 28aa3ca27e6c32aea24457547a79ecfca0602762 /drivers/scsi/qla2xxx/qla_gbl.h | |
parent | 7e6dff62dad539cbd608bb3b8b833193d13f00ac (diff) |
[SCSI] qla2xxx: use kthread_ API
Use the kthread_ API instead of opencoding lots of hairy code for kernel
thread creation and teardown.
Also switch from semaphore-based thread wakeup to wake_up_process.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-By: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_gbl.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_gbl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index ffdc2680f049..e897eadf0362 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h | |||
@@ -81,6 +81,8 @@ extern struct fw_blob *qla2x00_request_firmware(scsi_qla_host_t *); | |||
81 | 81 | ||
82 | extern int qla2x00_wait_for_hba_online(scsi_qla_host_t *); | 82 | extern int qla2x00_wait_for_hba_online(scsi_qla_host_t *); |
83 | 83 | ||
84 | extern void qla2xxx_wake_dpc(scsi_qla_host_t *); | ||
85 | |||
84 | /* | 86 | /* |
85 | * Global Function Prototypes in qla_iocb.c source file. | 87 | * Global Function Prototypes in qla_iocb.c source file. |
86 | */ | 88 | */ |