提交 288777f8 编写于 作者: M Michal Piotrowski 提交者: James Bottomley

[SCSI] drivers/scsi/dpt/dpti_i2o.h: removal of old scsi code

Signed-off-by: NMichal Piotrowski <michal.k.k.piotrowski@gmail.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
上级 f5ebbeb5
...@@ -47,21 +47,11 @@ ...@@ -47,21 +47,11 @@
* I2O Interface Objects * I2O Interface Objects
*/ */
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)
#define DECLARE_MUTEX(name) struct semaphore name=MUTEX
typedef struct wait_queue *adpt_wait_queue_head_t;
#define ADPT_DECLARE_WAIT_QUEUE_HEAD(wait) adpt_wait_queue_head_t wait = NULL
typedef struct wait_queue adpt_wait_queue_t;
#else
#include <linux/wait.h> #include <linux/wait.h>
typedef wait_queue_head_t adpt_wait_queue_head_t; typedef wait_queue_head_t adpt_wait_queue_head_t;
#define ADPT_DECLARE_WAIT_QUEUE_HEAD(wait) DECLARE_WAIT_QUEUE_HEAD(wait) #define ADPT_DECLARE_WAIT_QUEUE_HEAD(wait) DECLARE_WAIT_QUEUE_HEAD(wait)
typedef wait_queue_t adpt_wait_queue_t; typedef wait_queue_t adpt_wait_queue_t;
#endif
/* /*
* message structures * message structures
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册