2002-10-01 18:53:09

by Gert Vervoort

[permalink] [raw]
Subject: [PATCH] 2.5.40 ppa.c compile fix

--- linux/drivers/scsi/ppa.c.1 Tue Oct 1 20:44:42 2002
+++ linux/drivers/scsi/ppa.c Tue Oct 1 20:48:27 2002
@@ -801,7 +801,7 @@
if (ppa_engine(tmp, cmd)) {
tmp->ppa_tq.data = (void *) tmp;
tmp->ppa_tq.sync = 0;
-
queue_task(&tmp->ppa_tq, &tq_timer);
+
schedule_task(&tmp->ppa_tq);
return;
}
/* Command must of completed hence it is safe to let go... */
@@ -986,8 +986,7 @@

ppa_hosts[host_no].ppa_tq.data = ppa_hosts + host_no;
ppa_hosts[host_no].ppa_tq.sync = 0;
- queue_task(&ppa_hosts[host_no].ppa_tq, &tq_immediate);
- mark_bh(IMMEDIATE_BH);
+ schedule_task(&ppa_hosts[host_no].ppa_tq);

return 0;
}