lkml.org 
[lkml]   [2001]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] (Updated) Preemptible Kernel
From
Date
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

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

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.070 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site