[PATCH] 2.5.40 ppa.c compile fix

Gert Vervoort (Gert.Vervoort@wxs.nl)
Tue, 01 Oct 2002 20:52:57 +0200


--- 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;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/