diff options
Diffstat (limited to 'drivers/scsi/dpt/dpti_i2o.h')
-rw-r--r-- | drivers/scsi/dpt/dpti_i2o.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/scsi/dpt/dpti_i2o.h b/drivers/scsi/dpt/dpti_i2o.h index d84a281ad944..b3fa7ed71faf 100644 --- a/drivers/scsi/dpt/dpti_i2o.h +++ b/drivers/scsi/dpt/dpti_i2o.h | |||
@@ -47,21 +47,11 @@ | |||
47 | * I2O Interface Objects | 47 | * I2O Interface Objects |
48 | */ | 48 | */ |
49 | 49 | ||
50 | #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0) | ||
51 | |||
52 | #define DECLARE_MUTEX(name) struct semaphore name=MUTEX | ||
53 | |||
54 | typedef struct wait_queue *adpt_wait_queue_head_t; | ||
55 | #define ADPT_DECLARE_WAIT_QUEUE_HEAD(wait) adpt_wait_queue_head_t wait = NULL | ||
56 | typedef struct wait_queue adpt_wait_queue_t; | ||
57 | #else | ||
58 | |||
59 | #include <linux/wait.h> | 50 | #include <linux/wait.h> |
60 | typedef wait_queue_head_t adpt_wait_queue_head_t; | 51 | typedef wait_queue_head_t adpt_wait_queue_head_t; |
61 | #define ADPT_DECLARE_WAIT_QUEUE_HEAD(wait) DECLARE_WAIT_QUEUE_HEAD(wait) | 52 | #define ADPT_DECLARE_WAIT_QUEUE_HEAD(wait) DECLARE_WAIT_QUEUE_HEAD(wait) |
62 | typedef wait_queue_t adpt_wait_queue_t; | 53 | typedef wait_queue_t adpt_wait_queue_t; |
63 | 54 | ||
64 | #endif | ||
65 | /* | 55 | /* |
66 | * message structures | 56 | * message structures |
67 | */ | 57 | */ |