public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Love <rml@ufl.edu>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] (Updated) Preemptible Kernel
Date: 09 Sep 2001 00:44:00 -0400	[thread overview]
Message-ID: <1000010641.9763.3.camel@phantasy> (raw)
In-Reply-To: <999813729.2039.9.camel@phantasy>
In-Reply-To: <999813729.2039.9.camel@phantasy>

with the preemption config set, there is a compile failure with the
ieee1394 drivers.  thank you to Patrick Chase and the others who
reported this.

note: drivers are going to need to explicity include linux/sched.h if
they use (certain) spinlock primitives and want to compile with
CONFIG_PREEMPT set.  its cleaner anyhow.

this patch is against 2.4.9-ac10 but should be fine for 2.4.10-pre5...




diff -urN linux-2.4.9-ac10/drivers/ieee1394/ linux/drivers/ieee1394/csr.c
--- linux-2.4.9-ac10/drivers/ieee1394/csr.c	Fri Sep  7 23:53:41 2001
+++ linux/drivers/ieee1394/csr.c	Sun Sep  9 00:07:21 2001
@@ -10,6 +10,7 @@
  */
 
 #include <linux/string.h>
+#include <linux/sched.h>
 
 #include "ieee1394_types.h"
 #include "hosts.h"




-- 
Robert M. Love
rml at ufl.edu
rml at tech9.net


  parent reply	other threads:[~2001-09-09  4:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-06 22:02 [PATCH] (Updated) Preemptible Kernel Robert Love
2001-09-06 20:39 ` Phillip Susi
2001-09-07  0:58   ` Robert Love
2001-09-07  1:10   ` Daniel Phillips
2001-09-09  4:44 ` Robert Love [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-09-09 22:38 Robert Love
2001-09-19  0:10 Robert Love
2001-09-19  7:18 ` Robert Love
2001-10-01  4:21 Robert Love
2001-10-01  5:34 ` Steve Kieu
2001-10-01  5:46   ` Robert Love

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=1000010641.9763.3.camel@phantasy \
    --to=rml@ufl.edu \
    --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