vserver 1.9.5.x5
[linux-2.6.git] / drivers / scsi / imm.c
index eda703d..be7f2ca 100644 (file)
@@ -60,7 +60,7 @@ static inline imm_struct *imm_dev(struct Scsi_Host *host)
        return *(imm_struct **)&host->hostdata;
 }
 
-static spinlock_t arbitration_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(arbitration_lock);
 
 static void got_it(imm_struct *dev)
 {
@@ -1140,6 +1140,10 @@ static struct scsi_host_template imm_template = {
        .use_clustering         = ENABLE_CLUSTERING,
        .can_queue              = 1,
        .slave_alloc            = imm_adjust_queue,
+       .unchecked_isa_dma      = 1, /* imm cannot deal with highmem, so
+                                     * this is an easy trick to ensure
+                                     * all io pages for this host reside
+                                     * in low memory */
 };
 
 /***************************************************************************