[PATCH]pre-2.3.11-4 parport compile errors(FIX)

Albert Cranford (ac9410@bellsouth.net)
Tue, 13 Jul 1999 09:03:54 +0000


Hello Linus,
The following patch allows parport*.c to compile after the changes in
pre-2.3.11-x when task.h was changed to threads.h.
Later,
Albert
-------BEGIN PATCH--------
--- linux/drivers/misc/parport_arc.c.orig Mon Jul 12 21:11:03 1999
+++ linux/drivers/misc/parport_arc.c Mon Jul 12 21:12:10 1999
@@ -14,7 +14,7 @@
* a subset of the standard printer control lines connected.
*/

-#include <linux/tasks.h>
+#include <linux/threads.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/interrupt.h>
--- linux/drivers/misc/parport_ieee1284.c.orig Mon Jul 12 21:11:24 1999
+++ linux/drivers/misc/parport_ieee1284.c Mon Jul 12 21:12:15 1999
@@ -11,7 +11,7 @@
*/

#include <linux/config.h>
-#include <linux/tasks.h>
+#include <linux/threads.h>
#include <linux/parport.h>
#include <linux/delay.h>
#include <linux/kernel.h>
--- linux/drivers/misc/parport_init.c.orig Mon Jul 12 21:11:35 1999
+++ linux/drivers/misc/parport_init.c Mon Jul 12 21:12:18 1999
@@ -10,7 +10,7 @@

#include <linux/config.h>
#include <linux/module.h>
-#include <linux/tasks.h>
+#include <linux/threads.h>

#include <linux/parport.h>
#include <linux/errno.h>
--- linux/drivers/misc/parport_share.c.orig Mon Jul 12 21:11:53 1999
+++ linux/drivers/misc/parport_share.c Mon Jul 12 21:12:21 1999
@@ -15,7 +15,7 @@

#include <linux/config.h>
#include <linux/string.h>
-#include <linux/tasks.h>
+#include <linux/threads.h>
#include <linux/parport.h>
#include <linux/delay.h>
#include <linux/errno.h>
-----------END PATCH---------------------
-- 
Albert Cranford Deerfield Beach FL USA
ac9410@bellsouth.net

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/