[PATCH] 2.5.40 (-ac5) - fix unresolved symbols

From: Carlos E Gorges (carlos@techlinux.com.br)
Date: Sun Oct 06 2002 - 19:10:27 EST


diff -ur --exclude=*.o --exclude=.*.cmd --exclude=*~ linux-2.5.40-ac5/drivers/cdrom/mcdx.c linux-2.5/drivers/cdrom/mcdx.c
--- linux-2.5.40-ac5/drivers/cdrom/mcdx.c Tue Oct 1 04:06:59 2002
+++ linux-2.5/drivers/cdrom/mcdx.c Sun Oct 6 19:42:33 2002
@@ -1040,7 +1040,7 @@
                 kfree(stuffp);
         }
 
- if (devfs_unregister_blkdev(MAJOR_NR, "mcdx") != 0) {
+ if (unregister_blkdev(MAJOR_NR, "mcdx") != 0) {
                 xwarn("cleanup() unregister_blkdev() failed\n");
         }
         blk_cleanup_queue(BLK_DEFAULT_QUEUE(MAJOR_NR));
diff -ur --exclude=*.o --exclude=.*.cmd --exclude=*~ linux-2.5.40-ac5/drivers/ieee1394/raw1394.c linux-2.5/drivers/ieee1394/raw1394.c
--- linux-2.5.40-ac5/drivers/ieee1394/raw1394.c Tue Oct 1 04:05:48 2002
+++ linux-2.5/drivers/ieee1394/raw1394.c Sun Oct 6 20:55:57 2002
@@ -743,7 +743,7 @@
         }
 
         req->tq.data = req;
- queue_task(&req->tq, &packet->complete_tq);
+ schedule_task(&req->tq);
 
         spin_lock_irq(&fi->reqlists_lock);
         list_add_tail(&req->list, &fi->req_pending);
@@ -786,7 +786,7 @@
         req->tq.data = req;
         req->tq.routine = (void (*)(void*))queue_complete_req;
         req->req.length = 0;
- queue_task(&req->tq, &packet->complete_tq);
+ schedule_task(&req->tq);
 
         spin_lock_irq(&fi->reqlists_lock);
         list_add_tail(&req->list, &fi->req_pending);

--

http://www.techlinux.com.br/~carlos/tmp/2.5.40-2.diff -- _________________________ Carlos E Gorges (carlos@techlinux.com.br) Tech informática LTDA Brazil _________________________

- 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/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:56 EST