i previously reported a problem with mga_dma.c not compiling due to the
new schedule task queue updates. below is a patch to use the new task
queue system.

-- 
Robert M. Love
[EMAIL PROTECTED]
[EMAIL PROTECTED]

--- linux/drivers/char/drm/mga_dma.c~   Sun Dec 10 17:35:17 2000
+++ linux/drivers/char/drm/mga_dma.c    Sun Dec 10 17:35:37 2000
@@ -818,7 +818,7 @@
        dev->dma->next_buffer = NULL;
        dev->dma->next_queue  = NULL;
        dev->dma->this_buffer = NULL;
-       dev->tq.next          = NULL;
+       INIT_LIST_HEAD(&dev->tq.list);
        dev->tq.sync          = 0;
        dev->tq.routine       = mga_dma_task_queue;
        dev->tq.data          = dev;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to