[PATCH][2.5.21] compilation fix

From: Thomas 'Dent' Mirlacher (dent@cosy.sbg.ac.at)
Date: Sun Jun 09 2002 - 09:55:08 EST


seems the include file cleanup was a little bit over-optimized :)

this simple patch should fix the problem:

diff -Nru a/include/linux/bio.h b/include/linux/bio.h
--- a/include/linux/bio.h Sun Jun 9 21:54:07 2002
+++ b/include/linux/bio.h Sun Jun 9 21:54:07 2002
@@ -23,6 +23,7 @@
 #include <linux/kdev_t.h>
 /* Platforms may set this to teach the BIO layer about IOMMU hardware. */
 #include <asm/io.h>
+#include <asm/atomic.h>
 #ifndef BIO_VMERGE_BOUNDARY
 #define BIO_VMERGE_BOUNDARY 0
 #endif
diff -Nru a/kernel/fork.c b/kernel/fork.c
--- a/kernel/fork.c Sun Jun 9 21:54:07 2002
+++ b/kernel/fork.c Sun Jun 9 21:54:07 2002
@@ -19,6 +19,7 @@
 #include <linux/module.h>
 #include <linux/vmalloc.h>
 #include <linux/completion.h>
+#include <linux/sched.h>
 #include <linux/namespace.h>
 #include <linux/personality.h>
 #include <linux/file.h>

        tm

-- 
in some way i do, and in some way i don't.

- 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 Jun 15 2002 - 22:00:14 EST