Subject: Current cvs does not compile

From: Florian Lohoff <[email-masked]>
Date: Sat, 9 Jun 2001 19:15:36 +0200

Hi,
it seems the current cvs doesnt compile - It seems some include strategies
are broken.

asm-mips/io.h needs _CACHE_UNCACHED which is defined in pgtable.h
pgtable.h needs mm_struct which is defined in shed.h

Index: include/asm-mips/io.h
===================================================================
RCS file: /cvs/linux/include/asm-mips/io.h,v
retrieving revision 1.19
diff -u -r1.19 io.h
--- include/asm-mips/io.h	2001/06/06 23:46:17	1.19
+++ include/asm-mips/io.h	2001/06/09 17:12:48
@@ -14,6 +14,7 @@
 #include <linux/config.h>
 #include <asm/addrspace.h>
 #include <asm/byteorder.h>
+#include <asm/pgtable.h>
 
 /*
  * Slowdown I/O port space accesses for antique hardware.
Index: include/asm-mips/pgtable.h
===================================================================
RCS file: /cvs/linux/include/asm-mips/pgtable.h,v
retrieving revision 1.54
diff -u -r1.54 pgtable.h
--- include/asm-mips/pgtable.h	2001/06/05 23:24:07	1.54
+++ include/asm-mips/pgtable.h	2001/06/09 17:12:50
@@ -17,6 +17,7 @@
 #include <linux/linkage.h>
 #include <asm/cachectl.h>
 #include <linux/config.h>
+#include <linux/sched.h>
 
 /* Cache flushing:
  *

Now it fails for me in pgtable.h as it needs "high_memory" which should
be defined as extern (from mm/memory.c"

Flo
-- 
Florian Lohoff                  [email-masked]             +49-5201-669912
     Why is it called "common sense" when nobody seems to have any?