patch-2.4.0-test12 linux/drivers/block/paride/pseudo.h

Next file: linux/drivers/block/z2ram.c
Previous file: linux/drivers/block/ll_rw_blk.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test11/linux/drivers/block/paride/pseudo.h linux/drivers/block/paride/pseudo.h
@@ -50,7 +50,7 @@
 static spinlock_t ps_spinlock __attribute__((unused)) = SPIN_LOCK_UNLOCKED;
 
 static struct timer_list ps_timer = { function: ps_timer_int };
-static struct tq_struct ps_tq = {0,0,ps_tq_int,NULL};
+static struct tq_struct ps_tq = { routine: ps_tq_int };
 
 static void ps_set_intr( void (*continuation)(void), 
 			 int (*ready)(void),
@@ -71,7 +71,7 @@
                 disable_hlt();
 #endif
 		ps_tq_active = 1;
-                queue_task(&ps_tq,&tq_scheduler);
+                schedule_task(&ps_tq);
 	}
 
         if (!ps_timer_active) {
@@ -114,7 +114,7 @@
 #endif
 
         ps_tq_active = 1;
-	queue_task(&ps_tq,&tq_scheduler);
+	schedule_task(&ps_tq);
         spin_unlock_irqrestore(&ps_spinlock,flags);
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)