linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Robert M. Love" <rml@tech9.net>
To: <linux-kernel@vger.kernel.org>
Subject: [PATCH] Matrox DRM (mga_dma.c) tq fix Was: Re: Compile Failure: mga_dma.o on 2.4.0-test12-pre8
Date: Sun, 10 Dec 2000 17:40:26 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.30.0012101737480.18138-100000@phantasy.awol.org> (raw)
In-Reply-To: <Pine.LNX.4.30.0012101501160.17790-100000@phantasy.awol.org>


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/

      reply	other threads:[~2000-12-10 23:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-10 19:49 Compile Failure: mga_dma.o on 2.4.0-test12-pre8 Robert M. Love
2000-12-10 20:04 ` Robert M. Love
2000-12-10 22:40   ` Robert M. Love [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.30.0012101737480.18138-100000@phantasy.awol.org \
    --to=rml@tech9.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).