Re: [PATCH] (Updated) Preemptible Kernel

From: Robert Love (rml@ufl.edu)
Date: Sat Sep 08 2001 - 23:44:00 EST


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/



This archive was generated by hypermail 2b29 : Sat Sep 15 2001 - 21:00:17 EST