[PATCH] Matrox DRM (mga_dma.c) tq fix Was: Re: Compile Failure: mga_dma.o on 2.4.0-test12-pre8

From: Robert M. Love (rml@tech9.net)
Date: Sun Dec 10 2000 - 17:40:26 EST


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
rml@ufl.edu
rml@tech9.net

--- 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 majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Dec 15 2000 - 21:00:20 EST