2002-10-01 23:45:21

by Michel Eyckmans (MCE)

[permalink] [raw]
Subject: [PATCH] aha152x.c 2.5.40 queue_task compile failure


Unless I utterly misunderstood something, the following should
be obviously correct:

--- linux.orig/drivers/scsi/aha152x.c Wed Oct 2 01:39:42 2002
+++ linux/drivers/scsi/aha152x.c Wed Oct 2 01:40:05 2002
@@ -1941,8 +1941,7 @@
/* Poke the BH handler */
HOSTDATA(shpnt)->service++;
aha152x_tq.routine = (void *) run;
- queue_task(&aha152x_tq, &tq_immediate);
- mark_bh(IMMEDIATE_BH);
+ schedule_task(&aha152x_tq);
}

/*